Subject: Re: [xsl] Processing multiple lists From: "Joris Gillis" <roac@xxxxxxxxxx> Date: Wed, 07 Sep 2005 19:00:49 +0200 |
That seems like a reasonable approach. Do you know how I could construct the string from the nodeset?
<root> <list1> <node id="1">....stuff....</node> <node id="2">....stuff....</node> <node id="3">....stuff....</node> <node id="4">....stuff....</node> <node id="5">....stuff....</node> <node id="6">....stuff....</node> </list1> <list2> <node id="1">....stuff....</node> <node id="2">....stuff....</node> <node id="3">....stuff....</node> <node id="4">....stuff....</node> <node id="5">....stuff....</node> <node id="6">....stuff....</node> </list2> <list3> <node id="1">....stuff....</node> <node id="2">....stuff....</node> <node id="3">....stuff....</node> <node id="4">....stuff....</node> <node id="5">....stuff....</node> <node id="6">....stuff....</node> </list3> </root>
<xsl:variable name="test-result"> <xsl:for-each select="/root/list2/node"> <xsl:value-of select="number(@id mod 2=0)"/> </xsl:for-each> </xsl:variable>
regards, -- Joris Gillis (http://users.telenet.be/root-jg/me.html) B+In the land of the blind, the one-eyed man is kingB;
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Processing multiple lists, Emerson, Matt | Thread | [xsl] efficient use of key element , Manfred Staudinger |
Re: xxRe: [xsl] efficient use of ke, David Carlisle | Date | Re: xxRe: [xsl] efficient use of ke, Manfred Staudinger |
Month |