Sams Teach Yourself XML in 21 Days

Sams Teach Yourself XML in 21 Days

By Steven Holzner

Q&A

  1. Can I mix HTML and XML in the same Web page?

    Only one browser really supports mixed HTML/XML documents: Internet Explorer. You can embed XML in HTML pages using XML islands when you use Internet Explorer. We'll take a look at this in detail in Day 15.

  2. Must a valid XML document also be well-formed?

    Yes. For an XML document to be well-formed, it has to satisfy the syntax you specify for it, and the first step in satisfying that syntax is to make sure that it satisfies the basic syntax rules for an XML document, which means it must be well-formed. However, a well-formed XML document isn't necessarily valid.

Share ThisShare This

Informit Network