Re: [xsl] fold elements in xml tree

Subject: Re: [xsl] fold elements in xml tree
From: bryan rasmussen <rasmussen.bryan@xxxxxxxxx>
Date: Sun, 30 Oct 2005 16:04:07 +0100
http://www.npcwm.xslt.com/html/xsl-list/2002-02/msg00858.html

Dimitre Novatchev has a project providing a similar stylesheet,
however without the irritating quirks of the defaultss.xsl meaning
that his stylesheet will show the document as correct xml

http://www.biglist.com/lists/xsl-list/archives/200105/msg01014.html

On 10/30/05, Thomas Rasmussen <tbr77@xxxxxxxxxxxx> wrote:
> Hi
>
> Is there a way to fold/unfold a xml tree when displayed in a browser
> (Firefox, Internet Explorer)?
>
> I have this xml structure:
> <pages>
>   <page>
>    ........
>   </page>
>   <page>
>   ........
>   </page>
> </pages>
>
> It would be nice if I could add a stylesheet that folded all the
> <page> elements, so i don't have to manually press the -/+ for each
> element. I have not been able to find any documentation explaining
> how this can be done...
>
> I could filter the <page> sub elements out and then pass a parameter
> with the page i want to "unfold", but the other solution would be nicer.
>
> /Thomas

Current Thread