Processing XML with Perl | Michel Rodriguez |
More on the XML recommendation | More on the XML recommendation (cont'd) |
More on the XML recommendation (cont'd)
Comments
XML comments can be included anywhere in a document
<!-- this is an XML comment --> |
Processing instructions
Processing instructions are used to pass instructions to a specific processors (target). For example a document can be linked to a stylesheet using a PI.
<?t1 this is a processing instruction for the target t1 ?> |
Entities
Entities are the XML equivalent of macros;
<!-- defining entity foo --> <!ENTITY foo "bar"> <!-- using entity foo --> <elt>text including the &foo; entity</elt> |
More on the XML recommendation | More on the XML recommendation (cont'd) |