[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: loading multiple documents using variables
-----Original Message----- From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Michael Kay Sent: 4. april 2002 17:25 To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: RE: loading multiple documents using variables > 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. damn, yeah I just was doing some stuff with that too. wipes egg off, well I know saxon understands file:/// hopefully xalan does as well. <xsl:variable name="docconcat" select="concat('file:///c:/',$name,'.xml')"/> 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
|