I need to modify xml document with XSLT. what I need is to remove some node name from xml document.
Example:
<link ref="www.facebook.com">
<c type="Hyperlink">www.facebook.com<c>
</link>
I need to convert this xml as follows (remove the <c>
node and attribute form xml),
<link ref="www.facebook.com">
www.facebook.com
</link>
I tried to do this in many ways but none of worked out well. any suggestions how can I do this ?
Here's one way:
Here's another: