Subject: Re: [xsl] regarding unique nodes in a nodelist-variable From: Joerg Heinicke <joerg.heinicke@xxxxxx> Date: Mon, 30 Dec 2002 05:13:13 +0100 |
Hello all, This is regarding the sorting on unique nodes. I am using the axis method to sort it. eg.. not( parent/child = preceding-sibling::parent/child)
now if i have to go through a nodelist and sort.. can i use the same thing? like <xsl:for-each select="xalan:nodeset($MyElementSet)/elements/element[not(parent/childelemen t = preceding-sibling::element/parent/childelement)]/>
The structure of the xml in the variable:
<elements> <element> <parent> <childelement>child1</childelement> <parent> </element> <element> <parent> <childelement>child2</childelement> <parent> </element> <element> <parent> <childelement>child1</childelement> <parent> </element> </elements> is this valid? Its not working .. thanks
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] regarding unique nodes in a n, Laura | Thread | [xsl] How to output open/close tags, Edward L. Knoll |
RE: [xsl] Conditional branching on , Steve Gold | Date | Re: [xsl] Sorting and grouping, Joerg Heinicke |
Month |