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

nesting xml

Subject: nesting xml
From: "Mark Kahn" <imail@xxxxxxxxxxx>
Date: Wed, 2 May 2001 14:29:54 -0500
mark kahn
I'm just starting to learn xml/xsl and am wondering if it's possible to use a sub or a function call in xsl.  I have an xml file that could possibly have near infinite depths, and i'm wondering how to parse that...a short example:

<?xml version="1.0"?>
<main>
  <item_type_1>
    <name>Joe</name>
    <occupation>Carpenter</occupation>
  </item_type_1>
  <item_type_2>
    <business_name>LALA Inc.</business_name>
    <founder>
      <item_type_1>
        <name>Bob</name>
        <occupation>Lawyer</occupation>
      </item_type_1>
    </founder>
  </item_type_2>
  <item_type_2>
    <item_type_1>
      <item_type_3>
        <item_type_4>
        </item_type_4>
      </item_type_3>
      <item_type_4>
      </item_type_4>
    </item_type_1>
  </item_type_2>
</main>

and well you get the idea...

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


Current Thread
  • nesting xml
    • Mark Kahn - Wed, 2 May 2001 14:28:00 -0400 (EDT) <=
      • <Possible follow-ups>
      • Dan Diebolt - Wed, 2 May 2001 15:26:41 -0400 (EDT)
      • Mark Kahn - Thu, 3 May 2001 12:16:56 -0400 (EDT)

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.