This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: composing file reference for document() based on xml input
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] composing file reference for document() based on xml input
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Fri, 11 May 2001 10:00:45 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
> 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