xsl-list
[Top] [All Lists]

RE: [xsl] Use of xsl:document

2006-06-22 04:29:05
 

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


You definitely don't wan't to do that. You're loading an external document
and then making a copy of it. You don't need to make a copy: use the
original instead!

Michael Kay
http://www.saxonica.com/


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>