Subject: [xsl] how to return from exsl:node-set From: Dusan Zatkovsky <zatkovsky@xxxxxxxxxxxx> Date: Thu, 9 Sep 2004 10:21:00 +0200 |
Hi all. I have one question about exsl:node-set. Here is my example: data.xml <document> <data> <id>1</id> </data> <document> style.xsl <xslo:stylesheet ....> ... <xslo:variable name="stored"> <grp>...</grp> <grp>...</grp> <grp>...</grp> </xslo:variable> ... <xslo:for-each select="exsl:node-set($stored)/grp"> <!-- i will store index of current grp --> <xslo:variable name="pos" select="position"/> <!-- NOW I want to have access to data.xml (/document/data/id) but i am still in $stored variable stored locally in xsl file because exsl:node-set in for-each statement. How to acces data from xml file without using document(data.xml) function? (I can't use it) --> </xslo:for-each> </xslo:stylesheet ...> Thank you. -- Dusan Zatkovsky
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Keys, Jarno.Elovirta | Thread | Re: [xsl] how to return from exsl:n, Oleg Tkachenko |
Re: [xsl] xsl grabbing specific dat, cking | Date | Re: [xsl] how to return from exsl:n, Dusan Zatkovsky |
Month |