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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   XInclude & Document Function.

[ Lists Home | Date Index | Thread Index ]

I have a Main.xml which includes Books.xml

Main.xml
<Response>
     <node1 href='books.xml'></node>
</Response>

Books.xml
<mynode>
<a>Hello All</a>
</mynode>

Main.xsl
<xsl:value-of select="document(Response/node1/@href)/mynode"/>

document() function works fine.

Can anyone clarify
1. What is the difference between including an XML Using XINCLUDE namespace
to that of the above mentioned way.
2. When & Why one should use XINCLUDE.

Cheersss...
Arun.





 

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

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