xsl-list
[Top] [All Lists]

fold elements in xml tree

2005-10-30 07:41:32
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>
--~--



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