Fw: omitting empty elements when copying using <xsl:copy-of2003-06-19 09:47:50Hi:
I saw a solution to the above in tha archives but couldn't get it to work.
Any help is appreciated.
I have the following xml:
<root>
<A>
<a1>a1</a1>
<a2 />
<a3>a3</a3>
</A>
<B>
<b1 />
<b2 />
</B>
<C>
<c1>c1</c1>
</C>
</root>
Is there a way i can get the following output (omitting empty elements)
using xsl:copy-of
<root>
<A>
<a1>a1</a1>
<a3>a3</a3>
</A>
<C>
<c1>c1</c1>
</C>
</root>
Thanks
Venkat
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
|
||||||||||||||||