Okay, this is probably a really stupid question - but I just can't figure it
out.
I have a large xml document which is being transformed into another using
..net xsl - some elements inside of which do not have any data at some times
but do at others. If they don't have any data, I want to suppress the
generation of the tag completely in the resulting xml.
So for example, if I have a document:
<root>
<a>alksjdfsd</a>
<b>sdkfjlsdkf</b>
<c/>
<d>askdjf</d>
</root>
and i run it throught the transform, i want:
<new_root>
<new_a>asdfasf</new_a>
<new_b>askljfs</new_b>
<new_d>asdfasdf</new_d>
</new_root>
Something simple i'm missing????
Cheers
Chris