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

Re: How to make tree menu from flat XML

Subject: Re: How to make tree menu from flat XML
From: Radoslav Kolarov <roonex@xxxxxxxxx>
Date: Sat, 22 Jul 2006 11:39:57 -0700 (PDT)
Re:  How to make tree menu from flat XML
Mukul thanks for the answer. The problem is how to
turn tree structured information into dynamic tree
menu. I found some js scripts but I can use them only
if XML is structured heirarchy. So I have to transform
XML to this: 

<?xml version="1.0" ?> 
- <records>

- <record>
  <keyname>FINANCIAL ALERTS (5)</keyname> 
  - <record>
    - <record>
      <keyname>35 MR. MICHAEL NOLAN</keyname> 
    - <record>
      <keyname>142 MR. JOHN CALINSKI</keyname> 




Where the elements witn parentkeynum=0 to be roots,
and elements with parentkeynum=root keynum to be their
childrens nodes, and same thing for third level. So
the question now is how to transform flat XML to
heirarchy XML file like this...

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

Current Thread


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.
First Name
Last Name
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.