void unbindAll (String contextXPointer,
String relativeXPointer)
Unbind all matching elements.
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 |
All elements matched by relativeXPointer
that should be removed. |
Remove all top level leafs
var docElement = "/1";
var topLeafs = "has/l";
diputree.bind (docElement, topLeafs);