[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: xsl grabbing specific data
> Only question I have now is say > that an xml has two identical trees, Like > > <xml> > <name value="dan"> > <name value="dan"> > </xml> > > Is there a way to stop the duplicaes during the > transform. Do you mean duplicates in the original input, or in the output, maybe generated from things like <file-acl name="C:\boot.ini">...</file-acl> <file-acl name="D:\boot.ini">...</file-acl> I think that would require post-processing, which you could do by storing everything in a global variable and then use exsl:node-set to filter out duplicates. Duplicates in the original input you could probably filter out with Muenchian Grouping. Anton Triest > I ran your transform and low and behold > boot.ini came to my results like above. Once again > thanks for the help. > > Dan Sherman
|
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
|