|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Determining the of attribute values
Hi all
I am trying to determine the set of attibute values of a certain element. Considering the following xml fragment:
<a href="x">click here</a>
<a href="x">click here</a>
<a href="y">click here</a>
I would have thought that defining a xsl variable as follows would do the trick:
<!-- 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.
Does anyone have any advice?
Thanks
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








