Package net.sf.saxon.sapling

This package defines a public API for constructing trees; it represents trees-under-construction using a lightweight immutable data structure called a sapling; once construction of a sapling tree is complete, it can be copied to form a fully-functional XDM tree in the form of an XdmNode or NodeInfo object.

An overview of the API can be found in the Javadoc for class SaplingNode.