Re: [xml-dev] Re: [Sax-devel] XInclude and SAX Incompatibility

From
Elliotte Rusty Harold <>
To
Oleg Tkachenko <>,
Date
2003-06-25T11:55:41Z
ID
<p04330102bb1f3e2f4c15@[192.168.254.4]>
Thread
Re: [xml-dev] Re: [Sax-devel] XInclude and SAX Incompatibility
At 10:17 AM +0200 6/25/03, Oleg Tkachenko wrote:

>Probably Peter has meant the following example from "4.5 Creating the Result
>Infoset"[1]:
>
><x xmlns:xi="http://www.w3.org/2001/XInclude">
>   <xi:include href="something.xml"/>
>   <xi:include href="#xmlns(xi=http://www.w3.org/2001/XInclude)
>                      xpointer(x/xi:include[1])"
>               parse="xml"/>
></x>


Yes, that example is correct. However it still has to have a base URI 
property for each element, which will depend on where the example was 
actually loaded from. Base URIs are funny since they are not 
necessarily explicit in the XML instance document.
-- 

   Elliotte Rusty Harold
   
   Processing XML with Java (Addison-Wesley, 2002)
   http://www.cafeconleche.org/books/xmljava
   http://www.amazon.com/exec/obidos/ISBN%3D0201771861/cafeaulaitA