File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
There is a sample TreeViewer there.
I agree. Here's the link:
subject: tree in XML
jQuery in Action, 3rd edition