This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
There is a sample TreeViewer there.
I agree. Here's the link:
subject: tree in XML
Similar Threads
Reg :help in Archi Design
creating netui:tree from XML
convert javaobjects to xml and xml to java objects dynamically
JSF Tree with right mouse click
Simple question for XML Gurus