the full, absolute path of this (virtual) document tree
all markup documents on this level of the tree hierarchy
all templates on this level of the tree hierarchy that might get applied to a document when it gets rendered
all dynamic documents that need to get processed before rendering on this level of the tree hierarchy
all documents that were created by processing a dynamic template
all static documents that need to be copied to the output
the configuration associated with this tree
the number of this tree inside a document tree hierarchy, expressed as a list of Ints
the markup documents and subtrees merged into a specific order, used for generating tables of contexts and autonumbering
all markup documents on this level of the tree hierarchy
all documents that were created by processing a dynamic template
The local name of this tree.
Markup documents and subtrees in a specific order based on the configuration for this tree.
Markup documents and subtrees in a specific order based on the configuration for this tree. Before rewriting the configuration is not fully accessible yet and this list will be empty.
the full, absolute path of this (virtual) document tree
the full, absolute path of this (virtual) document tree
Returns a new tree, with all the document models contained in it rewritten based on the specified rewrite rules and autonumbering context.
Returns a new tree, with all the document models contained in it rewritten based on the specified rewrite rule and autonumbering context.
Returns a new tree, with all the document models contained in it rewritten based on the specified rewrite rule.
Returns a new tree, with all the document models contained in it rewritten based on the specified rewrite rule.
If the specified partial function is not defined for a specific element the old element remains
in the tree unchanged. If it returns None
then the node gets removed from the tree,
if it returns an element it will replace the old one. Of course the function may
also return the old element.
The rewriting is performed in a way that only branches of the tree that contain new or removed elements will be replaced. It is processed bottom-up, therefore any element container passed to the rule only contains children which have already been processed.
The specified factory function will be invoked for each document contained in this tree and must return a partial function that represents the rewrite rules for that particular document.
Returns a new tree, with all the document models contained in it rewritten based on the default rewrite rules and the specified context for autonumbering.
Returns a new tree, with all the document models contained in it rewritten based on the default rewrite rules.
Selects a document from this tree or one of its subtrees by the specified path.
Selects a document from this tree or one of its subtrees by the specified path. The path needs to be relative.
Selects a document from this tree or one of its subtrees by the specified path.
Selects a document from this tree or one of its subtrees by the specified path. The path needs to be relative.
Selects a subtree of this tree by the specified path.
Selects a subtree of this tree by the specified path. The path needs to be relative and it may point to a deeply nested subtree, not just immediate children.
Selects a subtree of this tree by the specified path.
Selects a subtree of this tree by the specified path. The path needs to be relative and it may point to a deeply nested subtree, not just immediate children.
Selects a link target by the specified selector if it is defined somewhere in a document inside this document tree.
Selects a template from this tree or one of its subtrees by the specified path.
Selects a template from this tree or one of its subtrees by the specified path. The path needs to be relative.
Selects a template from this tree or one of its subtrees by the specified path.
Selects a template from this tree or one of its subtrees by the specified path. The path needs to be relative.
all static documents that need to be copied to the output
The title of this tree, obtained from configuration.
Represents a tree with all its documents and subtrees.