[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: How do can I select distinct nodes and adding a co
Hi Ismaël > What I do know is first grouping on the attributes, so I get > every value > only once. Therefore I have used the sorting function. The > problem is I > don't find a method to generate the id. I can't use the count function > because some nodes of the nodeset are not used (only unique values are > needed). Somebody an idea ? If you're apply-templates to the distinct nodes, or running over them with a for-each, then you should be able to use position() in either case. What does your xslt look like? Regards, Tom 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
|