Subject: Re: [xsl] current context preceding-sibling then following-sibling From: "Joris Gillis" <roac@xxxxxxxxxx> Date: Tue, 08 Mar 2005 22:19:56 +0100 |
Hi,<data> <code> <record id="40" says="ruff" animal="dog"> <field fieldname="chase" id="50">cat</field> </record> <record id="50" says="meow" animal="cat"> <field fieldname="chase" id="60">mouse</field> </record> <record id="60" says="squeak" animal="mouse"> <field fieldname="chase" id="00">cheese</field> </record> </code> <animals> <animal id="60" /> <animal id="50" /> <animal id="40" /> <animal id="50" /> <animal id="60" /> <animal id="40" /> <animal id="50" /> <animal id="40" /> <animal id="80" /> </animals> </data> I am interested in returning all matches for animals who are in a proper "chase" order. So for example, the above animal who's ID is 50, is correctly in order if the proceding-animal is 40 (there should be 2 matches). Similarily, the animal who's ID is 60 is in correct order one time with the proceding-animal who's ID is 50. This "chase" order is to be derived by the code/record lookup above.
regards, -- Joris Gillis (http://www.ticalc.org/cgi-bin/acct-view.cgi?userid=38041) Spread the wiki (http://www.wikipedia.org)
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] current context preceding, Karl Stubsjoen | Thread | Re: [xsl] current context preceding, Karl Stubsjoen |
Re: [xsl] Is there a reason for not, David Carlisle | Date | RE: [xsl] XSL DOCTYPE, Michael Kay |
Month |