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

Re: Collapse data

Subject: Re: Collapse data
From: Yvonne Wang <yihong.wang@xxxxxxx>
Date: Thu, 25 Sep 2003 17:19:37 -0700
yvonne wang
Wendell,

Thanks so much for your information.


-Yvonne



Wendell Piez wrote:

> Yvonne,
>
> At 02:21 PM 9/25/2003, you wrote:
> >I wander whether there is a way using xslt to perform something like
> >collapse and expend element.
> >For example,  I have a config which has multiple line items, I want to
> >have a "Arrow" image on the config
> >level, and when a user clock the image, the related line items will show
> >on html and click again to collapse data. Have anyone also impletemented
> >something like that?
>
> Yes, I have; but it's not on the XSLT layer, it's in Javascript in the
> output (HTML) file.
>
> The XSLT generates the HTML from XML source, but the collapse/expand
> functionality is provided by DOM/CSS/Javascript code which is not executed
> by the XSLT engine, but rather by the receiving application (the browser).
> To the XSLT engine, the Javascript is just a chunk of text that is included
> in a <script> node copied by the stylesheet into the result.
>
> >And also, I want to know if I want to recalculate some values based on
> >user input, can xsl display the new value without calling the backend?
>
> Likewise, I would look at doing this in Javascript in the client.
>
> Design your solution in a mockup, using Javascript; then use XSLT to
> transform your XML into that form.
>
> Cheers,
> Wendell
>
> ___&&__&_&___&_&__&&&__&_&__&__&&____&&_&___&__&_&&_____&__&__&&_____&_&&_
>      "Thus I make my own use of the telegraph, without consulting
>       the directors, like the sparrows, which I perceive use it
>       extensively for a perch." -- Thoreau
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 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.