Is there any way to prevent the display of unmatched xml tags using xslt?
Posted
by StevenWilkins
on Stack Overflow
See other posts from Stack Overflow
or by StevenWilkins
Published on 2010-05-10T21:46:04Z
Indexed on
2010/05/10
21:54 UTC
Read the original article
Hit count: 215
xslt
Here is a contrived example of an xml document. In my real world case, the xml is fairly complex with multiple nested levels.
<alphabet> <a>A</a> <b>B</b> <c>C</c> ... and so on </alphabet>
Using xslt, I want to transform the document so that only the vowels are printed.
In my real world case, we're using empty template match tags to block the display. But that's too verbose for my liking.
© Stack Overflow or respective owner