OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

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

[ Lists Home | Date Index | Thread Index ]

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




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS