|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Classic many-to-many sorting
Hello all, I have a document containing: <object name="a" property="foo"/> <object name="b" property="bar"/> <object name="c" property="foo"/> <object name="d" property="bar"/> <object name="e" property="bar"/> [...] The name is unique and there are many different kinds of values of property, some of them duplicates or more, like in the example. What I want to do is a classic sorting: List all objects that have the same property value. For example: Object "a" and "c", have their property attribute set to "foo". Object "b","d" and "e", have their property attribute set to "bar". [etc.] With a traditional programming language this would have been easy, but what is the best and Right Way to do it in XSLT? Or should I resort to for-each and if's? I can change the generation of the source document, if that is of interest. Thanks in advance, Frans
|
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








