How to skip a child node
Here is an example. I have 2 xmls that are similar in nature so I want to use 1 xsl instead of 2. Here is the first XML
<root>
<a>
<b>
<c>
<d>Real Val 1</d>
</c>
<c>
<d>Real Val 2</d>
</c>
</b>
</a>
<a>
<b>
<c>
<d>Fake Val 1</d>
</c>
<c>
<d>Fake Val 2</d>
</c>
</b>
</a>
</root>
Here is the second XML
<root>
<a>
<x>
<c>
<d>Real Val 1</d>
</c>
<c>
<d>Real Val 2</d>
</c>
</x>
</a>
</root>
I am doing
<xsl:for-each select = "a">
</xsl:for-each>
How do I make the change so I can do soething like select="a/SKIP/c/" I just want to know how to skip a child node in any circumstances.
|