[Home] [By Thread] [By Date] [Recent Entries]


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
   elharo@m...
   Processing XML with Java (Addison-Wesley, 2002)
   http://www.cafeconleche.org/books/xmljava
   http://www.amazon.com/exec/obidos/ISBN%3D0201771861/cafeaulaitA

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member