Thomas Vackier
Usenet Archive
- Joined
- Dec 12, 2003
- Messages
- 3
- Reaction score
- 0
Hi all,
I'm trying to delete a certain tag in an XML document using XSL, but I can't figure out how.
Here's how my XML looks like:
<root>
<element>
<name>This is text</name>
</element>
<element>
<name>
<TBT>This is text</TBT>
</name>
</element>
..
..
..
</root>
Sometimes the text is enclosed between <TBT> tags, sometimes it is not. These tags were added to be able to translate it more easily into other languages (where TBT stands for To Be Translated).
Is there an easy way to write an XSL to delete all the TBT tags or produce an XML without these tags?
Many thanks,
Thomas Vackier
I'm trying to delete a certain tag in an XML document using XSL, but I can't figure out how.
Here's how my XML looks like:
<root>
<element>
<name>This is text</name>
</element>
<element>
<name>
<TBT>This is text</TBT>
</name>
</element>
..
..
..
</root>
Sometimes the text is enclosed between <TBT> tags, sometimes it is not. These tags were added to be able to translate it more easily into other languages (where TBT stands for To Be Translated).
Is there an easy way to write an XSL to delete all the TBT tags or produce an XML without these tags?
Many thanks,
Thomas Vackier