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

simple tree problem ...

Subject: simple tree problem ...
From: "Ingo Friepoertner" <friepoertner@xxxxxxxxxxxxx>
Date: Wed, 24 Oct 2001 22:06:34 +0200
simple tree
Well, a simple newbie question:

First there was a tree ...
<snip>
<position>         1
   <position>      2
     <position/>   3
   </position> 
   <position/>     4
</position>
<position/>        5
</snip>

(values only to explain sample)

Now I want first the positions 1 and 5 , than 2 and 4 and
last but not least the 3rd one. (From parent to all childen 
and their children ...)

One problem: I don't know the maximum child levels (here 3), 
they can be different (2 - 4 levels). How can I count them?

Output:  <xsl:for-each select="./position"> for the first 
childs ... but how do I get through all the other levels?

Thanks for help.

Ingo

--
Ingo Friepoertner
friepoertner@xxxxxxxxxxxxx


 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.