<Document>
<NodeA>1</NodeA>
<NodeB>2</NodeB>
<ServiceNode>3</ServiceNode>
<NodeX>4</NodeX>
</Document>
I need to remove ServiceNode
from the XML above using XSLT transformation. The output of the transformation should be:
<Document>
<NodeA>1</NodeA>
<NodeB>2</NodeB>
<NodeX>4</NodeX>
</Document>
I have tried this solution and this solution and did not get neither of those to work. The output value always still included the "excluded" nodes. What should I do to get this to work?