This XML document defines a block of text under RootElement. The block of text contains two CDATA directives which tell the processor to ignore the enclosed text. In this example, one CDATA is used to protected the less than expression. In the other, an entire XML document is embedded.
|XML Document with 2 CDATA Directives|
|XML Processing Job|
|An XPath Referencing a Whole Element Minus the Nodes|
These are the results of running the program.
|The Contents of RootElement|