Dear all,
I have the following problem. My XSL-file reads a second
document beside the original source
document that includes more than one location-path.
For example:
<path1>elem1/child1<path1>
<path2>elem2/child2<path2>
:
I want to create one variable that contains all nodes of
the source-document specified by the loction-paths in the path-elements
(path1,path2,...).
I know how to do this with one path-element (e.g. path1), the solution would
be
<xsl:variable name="doc2" select="document('doc2.xml)">
<xsl:variable name="var1" select="xalan:evaluate(string($doc2/path1))">.
But I don't know how to do this with more than one path-element.
A restriction is that the number of path elements could vary.
Any help would be welcome.
Thanks in advance
Best regards,
André Mengel
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- Re: Variables, (continued)
- Oliver Becker - Thu, 17 May 2001 10:09:39 -0400 (EDT)
- Dan Diebolt - Thu, 17 May 2001 10:25:13 -0400 (EDT)
- Oliver Becker - Thu, 17 May 2001 10:38:37 -0400 (EDT)
- HeHangjun - Thu, 17 May 2001 13:47:06 -0400 (EDT)
- Mengel Andre (FV/SLM) * - Wed, 30 May 2001 08:55:18 -0400 (EDT) <=
|
|