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 ?

1 Answer 1

1

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).

Edit: the above link does not work. You may find plenty of checkbox trees in jQuery by Googling as I see. Though I did not try each out. E.g.: http://www.redcarrot.co.uk/2009/11/11/collapsible-checkbox-tree-jquery-plugin/

Sign up to request clarification or add additional context in comments.

2 Comments

Thanks.. the example is perfect for my use case !!
Unfortunately last link doesn't work anymore. Could you find it again? Thanks!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.