void unbind (String contextXPointer, String
relativeXPointer)
Unbind the matching element.
contextXPointer |
The first matching element for contextXPointer
will be used as the context. The context is the point from where the relativeXPointer
will start.Note: Use "# /1" for document element. |
relativeXPointer |
The element matched by relativeXPointer
that should be removed. |
Remove the first element
var docElement = "#/1";
var first = "#xpointer(has/*)";
diputree.unbind (docElement, first);