views:

39

answers:

2

I have xml data(file or text) sent to client from web server.
The xml has tags only (no attributes). Actually I am using it to represent a tree.
On client side I need to render it as a tree and let client select multiple nodes in tree and submit it back to web server.
Are there any useful resources out there I can use ?

+2  A: 

See:

Generating a tree view using XSL and XML

Sarfraz
+1  A: 

From a bird view I would suggest you using XSL for transforming XML to XHTML code (you can play around here: http://www.w3schools.com/xsl/tryxslt.asp?xmlfile=cdcatalog&xsltfile=cdcatalog - description here: http://www.w3schools.com/xsl/)

For tree components you could use for example a jQuery plugin (http://floatmargin.com/demos/checkboxtree/checkboxtree.html).

Balint Pato
Thanks.. the example is perfect for my use case !!
Rohit