Subject: RE: [xsl] Filtering a node-set From: George James <GeorgeJ@xxxxxxxxxxxxxxx> Date: Wed, 9 Jan 2008 12:09:28 -0000 |
-----Original Message----- From: David Carlisle [mailto:davidc@xxxxxxxxx] Sent: 09 January 2008 11:23 To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: [xsl] Filtering a node-set >> I can't see a way of eliminating the use of the $top, $bottom, $left >> and $right variables. Is it possible? > > possibly not, if there were just one, say right you could do something like > > select="$elements[$elements[(@lon+180) < @lon + 180 + $boxSize]] This is the crux of the problem. The first occurrence of @lon refers to the inner $elements, whereas the second occurrence of @lon needs to refer to the outer $elements. So even with just one it still doesn't seem possible. > > but I don't think you can handle multiple attribute comparisons without introducing variables anywhere. > > is node-set() really not availabe to you? there arever few processors where it is not supported. I need it to run with at least Xalan, Xmlstarlet, Firefox and IE. Do all of these implement the node-set() extension? Regards George
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Filtering a node-set, Michael Kay | Thread | Re: [xsl] Filtering a node-set, David Carlisle |
Re: [xsl] Fun w/ Anagrams and FXSL:, M. David Peterson | Date | Re: [xsl] Filtering a node-set, David Carlisle |
Month |