This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]