Subject: [xsl] regarding unique nodes in a nodelist-variable From: "Laura" <xsl_list@xxxxxxxxxxx> Date: Tue, 24 Dec 2002 11:35:54 -0000 |
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 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] XSL Word counting and Merging, Mani Malarvannan | Thread | Re: [xsl] regarding unique nodes in, Joerg Heinicke |
RE: [xsl] accessing CDATA from XSL, Conal Tuohy | Date | Re: [xsl] Adding namespaces to outp, Kevin Jones |
Month |