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

Re: need xsl for collapsed treeview

Subject: Re: need xsl for collapsed treeview
From: Mike Brown <mike@xxxxxxxx>
Date: Tue, 24 Oct 2000 15:06:21 -0600 (MDT)
xml xsl treeview
IRUDAYARAJ BACKIARAJ wrote:
> can I get  any help for my problem?
> 
> > IE5 default style sheet, provides a tree view of 
> > any XML document after expanding all the node.
> > 
> > But I want to have by default collapsed tree view. 

The default style sheet uses MSXML 2.0 (as ships with IE5). It generates
an HTML document that contains CSS and JavaScript to provide the
collapsing/expanding views. To change the default behaviour, you have to
change whatever HTML it generates.

If you make a copy of the style sheet and reference it externally, as per
the info at that URL you posted, you can make it generate different HTML
that does what you want. But if you rely on the default stylesheet that is
built into MSXML, you cannot change its behaviour. It does not accept a
parameter for changing the default view.

If you do not know what JavaScript changes need to be made, I suggest you
ask for advice in a more appropriate forum (people don't like MSXML 2.0
here). Try the newsgroup
microsoft.public.windows.inetexplorer.ie5.programming.xml ... use the NNTP
server msnews.microsoft.com if your local server doesn't carry it, or use
the web interface at
http://msdnnews.microsoft.com/default.asp?masterfolder=xml

Good luck.

   - Mike
____________________________________________________________________
Mike J. Brown, software engineer at         My XML/XSL resources:
webb.net in Denver, Colorado, USA           http://www.skew.org/xml/


 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.