RE: [xsl] composing file reference for document() based on xml input

Subject: RE: [xsl] composing file reference for document() based on xml input
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Fri, 11 May 2001 10:00:45 +0100
> I'm trying to piece together a file reference for use in a 
> document() call
> in my XSL. 
> 
> 	<xsl:copy-of 
> select="document({/root/state/site/physical-site/root} +
> '/xml/navigation.xml')"/>
> 
Neveer use curly braces inside an XPath expression.

You don't need to: use the concat() function.

Mike Kay
Software AG

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread