Quantcast
Channel: XML, System.Xml, MSXML and XmlLite forum
Viewing all articles
Browse latest Browse all 935

Rename node, XSLT 1.0

$
0
0

Hello,

I have an XML like this:

<Temp_Node_A>data</Temp_Node_A>
<Temp_Node_B>data</Temp_Node_B>
... etc ...

I want it converted to

<Node_A>data</Node_A>
<Node_B>data</Node_B>
... etc ...

That is, I want to remove "Temp_" from every node that starts with Temp_ (or /Temp)

With XSLT 1.0, is it possible? If so, can you give an example?

Regards
Peter


Viewing all articles
Browse latest Browse all 935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>