This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes Tree View from XML Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Tree View from XML" Watch "Tree View from XML" New topic

Tree View from XML

jeroen dijkmeijer
Ranch Hand

Joined: Sep 26, 2003
Posts: 131
Hi I'm thinking of making an extendable treeview in html, with an xml file as datasource, and serverside html generation.
In the past I've made servlets parsing the xml, and placing spaces and table spans and columns everywhere and nowhere.
But I'm wondering is it possible to achieve with xslt? I think the problem is in expanding and collapsing nodes via http request but maybe there is some clever implementation possbible using xslt/xml/html processing/parsing/whatever?? Does anybody know of examples?
Thnx in Advance.
Jeroen Dijkmeijer.
It is sorta covered in the JavaRanch Style Guide.
subject: Tree View from XML