xsl-list
[Top] [All Lists]

Re: fold elements in xml tree

2005-10-30 08:04:07
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(_at_)post(_dot_)tele(_dot_)dk> 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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>