The xinclude:parse attribute
Two values:
xinclude:parse="xml"
- The resource must be parsed as XML and the infosets merged.
This is the default.
xinclude:parse="text"
- The resource must be treated as pure text and inserted
as a text node. When serialized, this means that characters like
<
will change to <
and so forth.
<slide xmlns:xinclude="http://www.w3.org/1999/XML/xinclude">
<title>The xinclude:href attribute</title>
<ul>
<li>Identifies the document to be included with a URI</li>
<li>The document at the URI replaces the element in the including document</li>
<li>The <code>xinclude</code> prefix is bound to the http://www.w3.org/1999/XML/xinclude
namespace URI.
</li>
</ul>
<pre><code><example xml:parse="text" xinclude:href="processing_xml_with_java.xml"/>
</code></pre>
<description>
A slide from Elliotte Rusty Harold's Advanced XML course at
<host_ref/>, <date_ref/>
</description>
<last_modified>September 14, 2000</last_modified>
</slide>