[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[xsl] Fw: omitting empty elements when copying using
[xsl] Fw: omitting empty elements when copying using
Subject: [xsl] Fw: omitting empty elements when copying using <xsl:copy-of
From: "Venkat Gyambavantha" <vgyambav@xxxxxxxxx>
Date: Thu, 19 Jun 2003 09:47:50 -0700
Hi:
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
Current Thread
- [xsl] Fw: omitting empty elements when copying using <xsl:copy-of
- Venkat Gyambavantha - Thu, 19 Jun 2003 09:47:50 -0700 <=
- David Carlisle - Thu, 19 Jun 2003 18:16:15 +0100
<- Previous Index Next ->
[xsl] xsl] Random Namespaces Declar, Joseph Kesselman
Thread
Re: [xsl] Fw: omitting empty elemen, David Carlisle
RE: RE: [xsl] grouping by unique..., Chris Loschen
Date
RE: RE: [xsl] grouping by unique..., Martinez, Brian
Month
Subject: [xsl] Fw: omitting empty elements when copying using <xsl:copy-of From: "Venkat Gyambavantha" <vgyambav@xxxxxxxxx> Date: Thu, 19 Jun 2003 09:47:50 -0700 |
Hi: 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] xsl] Random Namespaces Declar, Joseph Kesselman | Thread | Re: [xsl] Fw: omitting empty elemen, David Carlisle |
RE: RE: [xsl] grouping by unique..., Chris Loschen | Date | RE: RE: [xsl] grouping by unique..., Martinez, Brian |
Month |