xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] nesting xml


Subject: [xsl] nesting xml
From: "Mark Kahn" <imail@xxxxxxxxxxx>
Date: Wed, 2 May 2001 14:29:54 -0500

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
Keywords
xml
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor