<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: A Brief Introduction to XInclude</title>
	<atom:link href="http://cafe.elharo.com/xml/xinclude/feed/" rel="self" type="application/rss+xml" />
	<link>http://cafe.elharo.com/xml/xinclude/</link>
	<description>Longer than a blog; shorter than a book</description>
	<lastBuildDate>Tue, 09 Mar 2010 18:31:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Elliotte Rusty Harold</title>
		<link>http://cafe.elharo.com/xml/xinclude/comment-page-1/#comment-50</link>
		<dc:creator>Elliotte Rusty Harold</dc:creator>
		<pubDate>Fri, 06 Jan 2006 20:21:24 +0000</pubDate>
		<guid isPermaLink="false">http://minicafe.elharo.com/wordpress/xml/xinclude/#comment-50</guid>
		<description> Sadly no. As far as I know, there are no mainstream browsers with client side XInclude support.</description>
		<content:encoded><![CDATA[<p>Sadly no. As far as I know, there are no mainstream browsers with client side XInclude support.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andyjbs</title>
		<link>http://cafe.elharo.com/xml/xinclude/comment-page-1/#comment-49</link>
		<dc:creator>andyjbs</dc:creator>
		<pubDate>Fri, 06 Jan 2006 20:20:47 +0000</pubDate>
		<guid isPermaLink="false">http://minicafe.elharo.com/wordpress/xml/xinclude/#comment-49</guid>
		<description>&lt;h3&gt;Client side support?&lt;/h3&gt;

I have some web pages at the moment that are dynamic rather than plain (X)HTML solely to make use of includes. I&#039;d like to replace that with a client side solution as it seems silly to use a dynamic server side technology for one feature. I guess to be useful on the web today, a decent set of browsers that would need XInclude support would be:  IE Mozilla

KHTML  Do any of these currently offer XInclude support? Well, if not, I&#039;m going to seriously look at using good old fashioned entity replacement with XHTML as a solution. </description>
		<content:encoded><![CDATA[<h3>Client side support?</h3>
<p>I have some web pages at the moment that are dynamic rather than plain (X)HTML solely to make use of includes. I&#8217;d like to replace that with a client side solution as it seems silly to use a dynamic server side technology for one feature. I guess to be useful on the web today, a decent set of browsers that would need XInclude support would be:  IE Mozilla</p>
<p>KHTML  Do any of these currently offer XInclude support? Well, if not, I&#8217;m going to seriously look at using good old fashioned entity replacement with XHTML as a solution.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elliotte Rusty Harold</title>
		<link>http://cafe.elharo.com/xml/xinclude/comment-page-1/#comment-48</link>
		<dc:creator>Elliotte Rusty Harold</dc:creator>
		<pubDate>Fri, 06 Jan 2006 20:16:18 +0000</pubDate>
		<guid isPermaLink="false">http://minicafe.elharo.com/wordpress/xml/xinclude/#comment-48</guid>
		<description>If you include an entire document (i.e. don&#039;t use an &lt;code&gt;xpointer&lt;/code&gt; attribute) then any comments and processing instructions in the prolog and epilog are included as well. They are not stripped. (The &lt;code&gt;DOCTYPE&lt;/code&gt; declaration, if any, is stripped.) These extra processing instructions and cmments are normally not a problem.</description>
		<content:encoded><![CDATA[<p>If you include an entire document (i.e. don&#8217;t use an <code>xpointer</code> attribute) then any comments and processing instructions in the prolog and epilog are included as well. They are not stripped. (The <code>DOCTYPE</code> declaration, if any, is stripped.) These extra processing instructions and cmments are normally not a problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hugh Mcbride</title>
		<link>http://cafe.elharo.com/xml/xinclude/comment-page-1/#comment-47</link>
		<dc:creator>Hugh Mcbride</dc:creator>
		<pubDate>Fri, 06 Jan 2006 20:15:41 +0000</pubDate>
		<guid isPermaLink="false">http://minicafe.elharo.com/wordpress/xml/xinclude/#comment-47</guid>
		<description>&lt;h3&gt;XInclude with J2EE 1.3.1&lt;/h3&gt;

 I am trying to use the new XInclude feature of JAXP 1.3 (unbundled) but I am restricted to J2EE 1.3.1 . I have already placed the dom.jar, sax.jar xalan.jar and xercesImple.jar in the jre/lib/ext/ directory (using the endorsed directory is for JDK 1.4 . But the sample XInlcude demo included will not compile. What info I could find said not to add the jaxp-api.jar (Have tried it with and with out still doesnt work The main method of the of the class is below with the line causing the problem marked Any help/pointers would be greatly appreciated. Am using Eclipse 3.0 as an editor and am sure there is no problem there

&lt;pre&gt;public static void main(String argv[]) {
if (argv.length &lt; 2) { printUsage(); System.exit(1); } try {
--&gt; DocumentBuilderFactory dbf =
DocumentBuilderFactory.newInstance(); // make parser xinclude aware
by setting the XIncludeAware to true. dbf.setXIncludeAware(true);
dbf.setNamespaceAware(true); // parse the xml file. DocumentBuilder
parser = dbf.newDocumentBuilder(); parser.setErrorHandler(new
ErrorHandlerImpl()); Document doc = parser.parse(argv[0]); // write
//the output to specified file. DOMImplementation impl
=doc.getImplementation(); DOMImplementationLS implLS
=(DOMImplementationLS) impl.getFeature(&quot;LS&quot;, &quot;3.0&quot;);
DOMErrorHandlerImpl eh = new DOMErrorHandlerImpl(); Output out =
new Output();
LSSerializer writer = implLS.createLSSerializer();
writer.getDomConfig().setParameter(&quot;error-handler&quot;,
newDOMErrorHandlerImpl()); out.setSystemId(argv[1]);
writer.write(doc,out); System.out.println(&quot;//////// finished
/////////&quot;);
} catch (Exception ex) { System.out.println(&quot;Error occurred&quot;
+ex); }&lt;/pre&gt;
</description>
		<content:encoded><![CDATA[<h3>XInclude with J2EE 1.3.1</h3>
<p> I am trying to use the new XInclude feature of JAXP 1.3 (unbundled) but I am restricted to J2EE 1.3.1 . I have already placed the dom.jar, sax.jar xalan.jar and xercesImple.jar in the jre/lib/ext/ directory (using the endorsed directory is for JDK 1.4 . But the sample XInlcude demo included will not compile. What info I could find said not to add the jaxp-api.jar (Have tried it with and with out still doesnt work The main method of the of the class is below with the line causing the problem marked Any help/pointers would be greatly appreciated. Am using Eclipse 3.0 as an editor and am sure there is no problem there</p>
<pre>public static void main(String argv[]) {
if (argv.length &lt; 2) { printUsage(); System.exit(1); } try {
--&gt; DocumentBuilderFactory dbf =
DocumentBuilderFactory.newInstance(); // make parser xinclude aware
by setting the XIncludeAware to true. dbf.setXIncludeAware(true);
dbf.setNamespaceAware(true); // parse the xml file. DocumentBuilder
parser = dbf.newDocumentBuilder(); parser.setErrorHandler(new
ErrorHandlerImpl()); Document doc = parser.parse(argv[0]); // write
//the output to specified file. DOMImplementation impl
=doc.getImplementation(); DOMImplementationLS implLS
=(DOMImplementationLS) impl.getFeature("LS", "3.0");
DOMErrorHandlerImpl eh = new DOMErrorHandlerImpl(); Output out =
new Output();
LSSerializer writer = implLS.createLSSerializer();
writer.getDomConfig().setParameter("error-handler",
newDOMErrorHandlerImpl()); out.setSystemId(argv[1]);
writer.write(doc,out); System.out.println("//////// finished
/////////");
} catch (Exception ex) { System.out.println("Error occurred"
+ex); }</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Le Strat</title>
		<link>http://cafe.elharo.com/xml/xinclude/comment-page-1/#comment-46</link>
		<dc:creator>David Le Strat</dc:creator>
		<pubDate>Fri, 06 Jan 2006 20:15:11 +0000</pubDate>
		<guid isPermaLink="false">http://minicafe.elharo.com/wordpress/xml/xinclude/#comment-46</guid>
		<description>&lt;h3&gt;XML and XSL Reuse: Leveraging XML XInclude with Xerces and Xalan&lt;/h3&gt;

Great overview. I have posted &lt;a href=&quot;http://dlsthoughts.blogspot.com/2005/08/xml-and-xsl-reuse-leveraging-xml.html&quot; rel=&quot;nofollow&quot;&gt; a related post on my blog&lt;/a&gt; focusing on using XInclude in XML used in conjunction with xsl:include for XSL transformation to achieve XML reusability.</description>
		<content:encoded><![CDATA[<h3>XML and XSL Reuse: Leveraging XML XInclude with Xerces and Xalan</h3>
<p>Great overview. I have posted <a href="http://dlsthoughts.blogspot.com/2005/08/xml-and-xsl-reuse-leveraging-xml.html" rel="nofollow"> a related post on my blog</a> focusing on using XInclude in XML used in conjunction with xsl:include for XSL transformation to achieve XML reusability.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cafes@fbeausoleil.ftml.net</title>
		<link>http://cafe.elharo.com/xml/xinclude/comment-page-1/#comment-10</link>
		<dc:creator>cafes@fbeausoleil.ftml.net</dc:creator>
		<pubDate>Fri, 06 Jan 2006 14:13:40 +0000</pubDate>
		<guid isPermaLink="false">http://minicafe.elharo.com/wordpress/xml/xinclude/#comment-10</guid>
		<description>&lt;h3 class=&quot;subject&quot;&gt;What about processing instructions on included documents ?&lt;/h3&gt;
&lt;p&gt;For example, if one includes this document:&lt;/p&gt;

&lt;pre&gt;&lt;?xml version=&quot;1.0&quot;?&gt;
&lt;?xml-stylesheet href=&quot;toxhtml.xsl&quot;?&gt;
&lt;document&gt;
  &lt;para&gt;content&lt;/para&gt;

&lt;/document&gt;
&lt;/pre&gt;
&lt;p&gt;Into this one:&lt;/p&gt;
&lt;pre&gt;&lt;?xml version=&quot;1.0&quot;?&gt;
&lt;book&gt;
  &lt;xi:include xmlns:xi=&quot;Ã¢â‚¬Â¦&quot; href=&quot;Ã¢â‚¬Â¦&quot;/&gt;
&lt;/book&gt;&lt;/pre&gt;

&lt;p&gt;What elements will be included ? document and para, or
html/body/p ?&lt;/p&gt;</description>
		<content:encoded><![CDATA[<h3 class="subject">What about processing instructions on included documents ?</h3>
<p>For example, if one includes this document:</p>
<pre>&lt;?xml version="1.0"?&gt;
&lt;?xml-stylesheet href="toxhtml.xsl"?&gt;
&lt;document&gt;
  &lt;para&gt;content&lt;/para&gt;

&lt;/document&gt;
</pre>
<p>Into this one:</p>
<pre>&lt;?xml version="1.0"?&gt;
&lt;book&gt;
  &lt;xi:include xmlns:xi="Ã¢â‚¬Â¦" href="Ã¢â‚¬Â¦"/&gt;
&lt;/book&gt;</pre>
<p>What elements will be included ? document and para, or<br />
html/body/p ?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
