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

Re: n-nodes recursive tree

Subject: Re: n-nodes recursive tree
From: Paul DuBois <paul@xxxxxxxxxxxx>
Date: Fri, 28 Nov 2003 14:30:46 -0600
recursive tree
At 20:41 +0100 11/28/03, Dimitre Novatchev wrote:
 > >You cannot expect to get any meaningful help by only providing a
 >picture of what you think you want to get as result. This picture can be
 >produced in many ways that are not at all related and dependent on the
 >source xml document.

 I agree a better specification would be helpful, but it looked to me like
 nothing more than a problem of indenting according to the depth of nesting
 of <node> elements (that is, indenting according to count(ancestor::node)

There isn't any indentation in the presented output.

There is, though it seems to contain a mix of tabs and spaces. I saw this (with tabs converted to 8 spaces):

In effect, i will never know the max number of levels in tree node, and so i'd
like to obtain an html file formated with xsl and wich looks like that:

---- 1
---- 4 ---- 5
---- 7 ---- 2 ---- 6
---- 3

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

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.