The parse attribute

Two values:
The resource must be parsed as XML and the infosets merged. This is the default.
The resource must be treated as pure text and inserted as a text node. When serialized, this means that characters like < will change to &lt; and so forth.
<slide xmlns:xinclude="">
  <title>The href attribute</title>
  <li>Identifies the document to be included with a URI</li>
  <li>The document at the URI replaces the <code>include</code> 
      element in the including document</li>
  <li>The <code>xinclude</code> prefix is bound to the
  namespace URI. 

<pre><code><xinclude:include parse="text" href="processing_xml_with_java.xml"/>
      A slide from Elliotte Rusty Harold's Advanced XML course at
      <host_ref/>, <date_ref/>
  <last_modified>October 26, 2000</last_modified>

Previous | Next | Top | Cafe con Leche

Copyright 2000 Elliotte Rusty Harold
Last Modified September 14, 2000