|
Subject: RE: [xsl] document() function using variable From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Mon, 14 May 2007 11:31:51 +0100 |
> document('/folder/folder2/$nm.xml')/title doesn't work.
Despite the use of "$" to prefix a variable name, XSLT variables do not work
by textual substitution. A variable reference is an expression, which can
only be used in a place where you might use a function call (for example).
So, as others have indicated, you need to build the string using concat().
Michael Kay
http://www.saxonica.com/
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] document() function using, Abel Braaksma | Thread | RE: [xsl] document() function using, Hofman, Peter |
| Re: [xsl] Return system's date and , Florent Georges | Date | Re: [xsl] Return system's date and , David Carlisle |
| Month |