Re: [xsl] Refer to xml file

Subject: Re: [xsl] Refer to xml file
From: cutlass <cutlass@xxxxxxxxxxx>
Date: Mon, 15 Jan 2001 02:31:16 +0000

Ha Tran wrote:


I'm currently writing a xslt file for a xml file, but I want to use data in
another xml file, for example:
		In Lookup_data.xml
				<VALUE>Some values here</VALUE>
		In my_xml.xml
Actually, I would like to refer to Lookup_data.xml directly from my_xsl.xsl
file. Do you have any ideas? Thank in advance,

use document() with <xsl:copy-of> or <xsl:for-each> directly in your xsl file.

<xsl:copy-of select="document('somexmlfile.xml')"/>


<xsl:for-each select="document('somexmlfile.xml')>

, jim fuller

XSL-List info and archive:

Current Thread