[xsl] Rendering XML

Subject: [xsl] Rendering XML
From: Teresa Van Meter <terivm@xxxxxxxxx>
Date: Wed, 18 Dec 2002 04:57:00 -0800 (PST)
Hi:

I have the following XML file:

<npc id="1">
  <p desc="desktop" mpn="123" price="29.99"
vendor="xxx.com"/>
  <p desc="chair"   mpn="654" price="12.99"
vendor="xxx.com"/>
  <p desc="desktop" mpn="123" price="27.99"
vendor="yyy.com"/>
  <p desc="desktop" mpn="123" price="30.99"
vendor="zzz.com"/>
  <p desc="table"   mpn="389" price="45.99"
vendor="xxx.com"/>
</npc>

and I'd like to generate the following output but I
haven't figure it out yet.
Any ideas??
Thanks.

<npc id="1">
  <p desc="desktop" mpn="123">
    <pdet price="29.99" vendor="xxx.com"/>
    <pdet price="27.99" vendor="yyy.com"/>
    <pdet price="30.99" vendor="zzz.com"/>
  </p>
  <p desc="chair"   mpn="654" price="12.99"
vendor="xxx.com"/>
  <p desc="table"   mpn="389" price="45.99"
vendor="xxx.com"/>
</npc>


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread