Table of contentsAppendices |
2.5 CommentsComments
Comments MAY appear
anywhere in a document outside other Markup;
in addition, they MAY appear within the document type declaration at places
allowed by the grammar. They are not part of the document's Character Data; an XML processor MAY, but need not, make it possible for an
application to retrieve the text of comments. For Compatibility, the string "
An example of a comment: <!-- declarations for <head> & <body> --> Note
that the grammar does not allow a comment ending in <!-- B+, B, or B---> |