|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Determining the set of attribute values
David Carlise wrote:
>> <!-- Store the set of URLs in $urls -->
>> <x:variable name="urls" select="//a/@href[not(.=following::a/@href)]"/>
>> When I step through the variable however, it is clear that the
>> variable contents do not constitute a set.
> >
>
> If you use the select attribute as above the variable _does_ hold a node set.
>
> In what way were you `stepping through' it?
Should $urls be printed out with a for-each loop, then i get nodes with repeated values.
<x:for-each select="$urls">
<x:value-of select="."/>
</x:for-each>
do you get the same behaviour? Could it be a querk of Xeena's XSLT engine?
Nigel
Nigel Byrnes, Philips Research
Cross Oak Lane, Redhill. Surrey, RH1 5HA
Voice: +44 (0) 1293 815578
Fax: +44 (0) 1293 815500
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








