[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: How to format recursive XML using XSL

Subject: RE: How to format recursive XML using XSL
From: "Rakesh Ajmera" <rakesh_ajmera@xxxxxxxxxx>
Date: Wed, 26 Jan 2000 17:24:27 -0600
format xml using xsl
i dont think its a valid xml document...

-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxx]On Behalf Of
Nilay.Shah@xxxxxxxxxxxxxxxxxxx
Sent: Monday, January 24, 2000 2:46 AM
To: XSL-List@xxxxxxxxxxxxxxxx
Subject: How to format recursive XML using XSL




Hi,

I have a problem.

I have XML in which nodes are recursive. The part of XML is shown below :

<CATALOGTREE TYPE="CATALOG-TREE">
<NODE TYPE="Catalog" NAME="Contactor">
     <NODE TYPE="Shop" PARENT="Contactor" NAME="MN">
          <LEAFNODE TYPE="Product" NAME="MN 9" href = "temp1.html">
          </LEAFNODE>
          <LEAFNODE TYPE="Product" NAME="MN 12">
          </LEAFNODE>
          <LEAFNODE TYPE="Product" NAME="MN 16">
          </LEAFNODE>
          <LEAFNODE TYPE="Product" NAME="MN 25">
          </LEAFNODE>
          <LEAFNODE TYPE="Product" NAME="MN 32">
          </LEAFNODE>
          <LEAFNODE TYPE="Product" NAME="MN 400">
          </LEAFNODE>
          <NODE TYPE="ProdGrp" PARENT="MN" NAME="Accessories">
               <LEAFNODE TYPE="Product" NAME="Coil">
               </LEAFNODE>
               <LEAFNODE TYPE="Product" NAME="Surge Suppressor">
               </LEAFNODE>
               <LEAFNODE TYPE="Product" NAME="Mechanical Interlock">
               </LEAFNODE>
          </NODE>
     </NODE>
     <LEAFNODE TYPE="Product" NAME="Special Contactor">
     </LEAFNODE>
</NODE>
</CATALOGTREE>

How can I use XSL to access elements and display the same?

I am also attaching the XML file along with this mail.

Thanks and Regards,
Nilay.
(See attached file: Tree_XML.xml)



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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.