save


String save (String xpointer)

Returns an xml document starting from the matching element

 xpointer The first matching element for xpointer. The returned XML document or fragment will start from here.

Code snippet

Show the tree in an alert dialog box.

var xml = diputree.save("#/1");
alert (xml);

Example

save example

 


diputree documentation © 2000 dipu