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

RE: collapsable / expandable tree in XSL

Subject: RE: collapsable / expandable tree in XSL
From: Jarno.Elovirta@xxxxxxxxx
Date: Wed, 12 Mar 2003 12:20:52 +0200
snuff machinery download
Hi,

> One good thing is that it does not print it anymore. But it 
> still does not process it to render the collapsable / 
> expandable javascript tree.
> 
> ex: 
> http://www.idiap.ch/~guillemo/JAVASCRIPT/dynapi/docs/examples/
> TEST2.xml with the sylesheet named Testdiv.xsl (in the same 
> directory).
> while OK in html: 
> http://www.idiap.ch/~guillemo/JAVASCRIPT/dynapi/docs/examples/
> collapsemenu1.html

Your stylesheet is a combination of a normal XSLT stylesheet and simplified syntax <http://www.w3.org/TR/xslt#result-element-stylesheet>, i.e. broken. Remove xsl:output and xsl:template instructions, they're not allowed in simplified syntax stylesheets.

You should install a command-line XSLT processor and try to run the transformation from the command-line, easier for development. When you get it to work on command-line, it (the transformation) will work on the browsers, too.

Cheers,

Jarno - SITD: Snuff Machinery (9mm RMX by A. Deal & T. Schmidt)

 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.