XML - Comment

Card Puncher Data Processing

About

Comments may appear anywhere in a document outside other markup.

They are not part of the document's character data

Example

<!-- declarations for <head> & <body> -->

Note that the grammar does not allow a comment ending in —>. The following example is not well-formed.

<!-- B+, B, or B--->

Support

Error: Double hyphen within comment

For compatibility, the string (double-hyphen) must not occur within comments..

Documentation / Reference





Discover More
DOM - Comments

comment is a type of node in the DOM It represents the parsing of a XML comment or HTML comment
HTML - Comment

HTML Comment in HTML follow the same rule than for the XML comment.
Jaxpintro Domapi
Java XML - DOM Jaxp

The DOM API of the JSE (ie Jaxp) in Java to process an XML file. To see other DOM implementation, see org.w3c.dom: Defines the Document class (a DOM) as well as classes for all the components...
Card Puncher Data Processing
XML - (Structure|Representation)

Each XML document has both: a and a structure. XML provides a mechanism, the document type declaration: to define constraints on the logical structure and to support the use of predefined...
Card Puncher Data Processing
XML - Character

character in XML. Unicode Standard“1234U+1234”“10FFFDU+10FFFD”HTML“”“” Legal characters are: tab, carriage return, line feed, and the legal characters of Unicode (ISO/IEC...
Card Puncher Data Processing
XML - Character data (CDATA) - Escape

All text that is not markup or comment constitutes the character data of the document (known as CDATA). CDATAPCDATAchild If you want to embedded reserved characters xml character in your document,...
Card Puncher Data Processing
XML - Markup

The function of the markup in an XML document is to describe its structure: storage (physical) and logical structure (and to associate attribute name-value pairs with its logical structures). Markup...
Card Puncher Data Processing
XSLT/XPath - (Data|Document) Model

Like the Document Object Model (DOM), the XSLT/XPath data model consists of a tree containing a variety of nodes. The XPath specification defines an abstract document model that defines seven kinds...
Card Puncher Data Processing
Xml - Infoset

The XML Infoset: is a tree-based hierarchical representation of an XML document. is the abstract data and metadata (ie abstract means independently of this representation, independent of the actual...



Share this page:
Follow us:
Task Runner