Subject: Re: [xsl] fold elements in xml tree From: bryan rasmussen <rasmussen.bryan@xxxxxxxxx> Date: Sun, 30 Oct 2005 16:08:56 +0100 |
I've actually done quite a bit to extend that stylesheet since, also to clean up the horrible markup it makes. On 10/30/05, bryan rasmussen <rasmussen.bryan@xxxxxxxxx> wrote: > 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] fold elements in xml tree, bryan rasmussen | Thread | [xsl] [XSLT-2.0] Template rules mat, drkm |
Re: [xsl] fold elements in xml tree, bryan rasmussen | Date | RE: [xsl] [XSLT-2.0] Template rules, Michael Kay |
Month |