valeriogalano/checkboxtree

Input XML and return XML with checked values

Opened this issue · 0 comments

Behaviour I think this feature should have some way to build the treeview with 
a XML.
It will be perfect if some method return only the checked input value.
I think you're going to understand with the example.


Examples:
I would like to pass the XML below to the component and automatically build the 
tree:

<ROOT>
<NODE text='Node 1' value='1' checked='true'>
<NODE text='Node 2' value='2' checked='true'/>
</NODE>
<NODE text='Node 3' value='3' checked='false'/>
</ROOT>

The method 'GetCheckedValues' should return:

<ROOT>
<NODE text='Node 1' value='1' checked='true'>
<NODE text='Node 2' value='2' checked='true'/>
</NODE>
</ROOT>


Its a lot work with recursive methods.
A need some help.
Thanks.

Original issue reported on code.google.com by brunodim...@gmail.com on 9 Dec 2011 at 7:13