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

collapsable / expandble tree in XSL

Subject: collapsable / expandble tree in XSL
From: Mael Guillemot <Mael.Guillemot@xxxxxxxx>
Date: Tue, 11 Mar 2003 15:33:32 +0100
collapsable christmas tree
Hi,

I want to make a collapsable / expandble tree using XSL. I use
Javascript to handle this. Note that I am not using msxml and any
microsoft tool such as DOMObject etc. The application will be mainly use
on N6+.

- Here is the XML page which uses XSL and does not work:
http://www.idiap.ch/~guillemo/JAVASCRIPT/dynapi/docs/examples/TEST.xml

- Here is what I would like, but using XSL instead of HTML:
http://www.idiap.ch/~guillemo/JAVASCRIPT/dynapi/docs/examples/collapsemenu1.html

The problem is one <DIV> tag which does not end. I use <xsl:value-of
select="$div0"/> where div0  is &lt;div id="CollapseMenu0Block0"&gt; But

the browser prints it instead of process it. The author of the
Javascript/HTML tool says (on
http://www.dansteinman.com/dynduo/en/collapsemenu.html ): " notice that
the beginning of each set of layers (CollapseMenu0Block0) there is no
ending </div> tag - this is by design - each block is nested inside the
previous block to create one huge multi-nested set of layers. The object
will complete all the </div>'s on it's own ".

I don't know if it is possible to handle this in XSL.

Thanks a lot for any help, kindest regards,

Maël
mailto:mael.guillemot@xxxxxxxx
http://www.idiap.ch/~guillemo




 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.