wood burning stoves 2.0*
The moose likes XML and Related Technologies and the fly likes tree in XML Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "tree in XML" Watch "tree in XML" New topic

tree in XML

pavan meda

Joined: Oct 04, 2001
Posts: 2
How can i build a tree structure (like windows Explorer) in XML and XSL?
Is it possible to build dynamically?
Is it possible to add folders to that tree?
L Goundalkar
Ranch Hand

Joined: Jul 05, 2001
Posts: 395
Sure you can.
But you may need to use some jpgs for the icons in the tree. Use the simple parser program and add the appropriate image file and display it on the browser window.

L Goundalkar
Sun Certified Programmer for Java 2 Platform

timothy zimmerman
Ranch Hand

Joined: Jun 26, 2001
Posts: 149
You might get some benefit from looking at http://xml.apache.org/xerces-j/samples.html
There is a sample TreeViewer there.
It is sorta covered in the JavaRanch Style Guide.
subject: tree in XML
Similar Threads
JSF Tree with right mouse click
convert javaobjects to xml and xml to java objects dynamically
Reg :help in Archi Design
creating netui:tree from XML
Simple question for XML Gurus