3.4. Escaping Back to SGML
Prev | Chapter 3. XML Primer | Next

## 3.4. Escaping Back to SGML

As mentioned earlier, XML is only used when writing a DTD. This is not strictly true. There is certain XML syntax that you will want to be able to use within your documents. For example, comments can be included in your document, and will be ignored by the parser. Comments are entered using XML syntax. Other uses for XML syntax in your document will be shown later too.

Obviously, you need some way of indicating to the XML processor that the following content is not elements within the document, but is XML that the parser should act upon.

These sections are marked by `<! ... >` in your document. Everything between these delimiters is XML syntax as you might find within a DTD.

As you may just have realized, the DOCTYPE declaration is an example of XML syntax that you need to include in your document…

Prev | Up | Next
3.3. The DOCTYPE Declaration | Home | 3.5. Comments

This, and other documents, can be downloaded from http://ftp.FreeBSD.org/pub/FreeBSD/doc/

For questions about FreeBSD, read the documentation before contacting <questions@FreeBSD.org>.
For questions about this documentation, e-mail <doc@FreeBSD.org>.