Hi Farooq,
You have'nt explained enough, what logic you are
using for transformation. It will help us in solving
the problem. Looking only at the input XML, and the
desired output, its tough to guess the logic of
transformation..
Regards,
Mukul
--- Mir Farooq Ali <mfali(_at_)cs(_dot_)vt(_dot_)edu> wrote:
I'm sorry for my mistake in copy-paste. Here is what
the output file
should actually look like.
<?xml version="1.0" encoding="utf-8" ?>
<S>
<p id="something1" c="XXXX">
<p id="something11" c="YYYY" />
<p id="something12" c="ZZZZ" />
<p id="somethinga1" c="XXXX">
<p id="somethinga11" c="YYYY" />
<p id="somethinga12" c="ZZZZ" />
<p id="somethingb1" c="XXXX">
<p id="somethingb11" c="YYYY" />
<p id="somethingb12" c="ZZZZ" />
</p>
<p id="somethingc1" c="WWWW" />
</p>
<p id="somethingd1" c="WWWW" />
</p>
<p id="somethinge1" c="WWWW" />
</S>
--
Mir Farooq Ali
Computer Science, Virginia Tech,
Email: miali(_at_)cs(_dot_)vt(_dot_)edu
Web: http://purl.org/net/farooq
Office: 525 McBryde Hall
Tel: (540) 231-1927 (Office)
--------------------------------------------
(c) 2004 Mir Farooq Ali All rights reserved
--------------------------------------------
--+------------------------------------------------------------------
XSL-List info and archive:
http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to:
http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--+--
__________________________________
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/