[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Use of xsl:document


Subject: [xsl] Use of xsl:document
From: "tom tom" <tomxsllist@xxxxxxxxxxx>
Date: Thu, 22 Jun 2006 11:46:26 +0100

I wish to store an external XML file as the value of an XSLT variable using XSLT 2.0. This is how it is presently being acheived:

<xsl:variable name="Xml" as="document-node()" select="document('test.xml')"/>

Should I be using the xsl:document function instead?
If I should, why?
Is there any use for the xsl:document function other than the fact it allows validation?


_________________________________________________________________
The new MSN Search Toolbar now includes Desktop search! http://join.msn.com/toolbar/overview



Current Thread
Keywords