here is an input
Code:
<parent>
<c1>value1</c1>
<c2>value2</c2>
<c3>value3</c3>
<c1>value4</c1>
</parent>
I want to select specified nodeset, the following is the result that I expected
Code:
<parent>
<c1>Value1</c1>
<c1>Value4</c1>
</parent>
I tried to do this
Code:
<xsl:variable name="myNodeset" select="/parent/c1/*"/>
but it doesn't work
I workaround by using for-each iterate node <c1> and copy them