javascript - Custom XML in tree view -
i'm triying show specific xml in tree view. ask xml file server (so xml change same structure) , looks this:
<node label="root1" description="this root" id="12345"> <node label="folder1" description="this folder" id="f12345"> <node label="folder1-2" description="this folder" id="f123456"> <node label="service1" description="this service" id="s12345" /> </node> </node> </node>
the idea show like:
root folder 1 folder 1-2 service 1
i have looked jstree can't change xml structure , have looked option: http://uimonster.com/wiki/index.php?title=jstree_and_custom_xml , doesn't work me because need 'label' attribute name of node , store description somewhere work later.
i'm new in js wonderful. thanks.
Comments
Post a Comment