Property |
Callbacks |
Explanation |
---|---|---|
[content] |
The characters identified in this callback are the contents of the comment. |
|
[parent] |
|
When startElement() is invoked with no matching endElement(), the parent is the current element. The Infoset ignores comments reported between calls to LexicalHandler.startDTD() and LexicalHandler.endDTD(). Otherwise, the document itself is the parent. |
Some legacy applications use comments to represent the sort of information that processing instructions were designed to hold; an example is wrapping of CSS rendering hints in HTML comments.
Copyright © 2002 O'Reilly & Associates. All rights reserved.