Subject: [xsl] Classic many-to-many sorting From: Frans Englich <frans.englich@xxxxxxxxx> Date: Fri, 10 Sep 2004 13:34:25 +0000 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Word 2003 schema and XSL, 0 8 | Thread | Re: [xsl] Classic many-to-many sort, David Carlisle |
RE: [xsl] Word 2003 schema and XSL, David . Pawson | Date | Re: [xsl] Classic many-to-many sort, David Carlisle |
Month |