← Prev in month ← Prev in thread

XInclude & Document Function.

From
<>
To
Date
2002-02-26T05:40:51Z
ID
<OF48D8FFC5.EEE179AB-ON65256B6C.001D48BF@com>
Thread
XInclude & Document Function.
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.
← Prev in month ← Prev in thread