Re: loading multiple documents using variables
[Michael Kay] > > try > > <xsl:variable name="docconcat" select="concat('c:\',$name,'.xml')"/> > > <xsl:apply-templates select="document($docconcat)"/> > > Except that document() requires the argument to be a URI, and a filename is > not a URI. > Right, some processors accept that form anyway, but it's not really correct. There's also the old question - exactly what is the right syntax to use for Windows file: URLs, anyway? Cheers, Tom P XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format