Below my input
<root>
<text>
<bold>Co<csc>lorado DivIs</csc>IoN</bold>
</text>
<text>
fi<csc>ve and a ha</csc>lf <x>abc</x>
</text>
</root>
Here is my xslt my implemntation (xslt verions-1.0)
<xsl:for-each select="/root/text">
<xsl:value-of select="./child::*[local-name(.)!='x']" />
<xsl:text> </xsl:text>
</xsl:for-each>
correct output look like below, should ignore only 'x' element value.
Colorado DivIsIoN five and a half
The output I am getting is with missing current element text.
Colorado DivIsIoN ve and a ha