S
sandls816
Hi, I am quite new to xsl, so maybe there is a pretty easy solution to
this, but I couldn't find a solution anywhere.
Basically I am trying to replace a pattern of tags with other tag. For
example if my xml looks like this:
<a>
<b>
<c>
<c>some text</c>
</c>
</b>
<a>
And I want to replace <c><c> with <d> so my output would be
<a>
<b>
<d>some text</d>
</b>
</a>
The problem is that I don't know an absolute path to c/c it could be
anything, I just want to match on <c><c> no matter how far down it is.
Can this be done with xslt.
Thank you in advance
this, but I couldn't find a solution anywhere.
Basically I am trying to replace a pattern of tags with other tag. For
example if my xml looks like this:
<a>
<b>
<c>
<c>some text</c>
</c>
</b>
<a>
And I want to replace <c><c> with <d> so my output would be
<a>
<b>
<d>some text</d>
</b>
</a>
The problem is that I don't know an absolute path to c/c it could be
anything, I just want to match on <c><c> no matter how far down it is.
Can this be done with xslt.
Thank you in advance