alwaysJoinText
- Property Key for the treeInputFormat (in Tree xmodule)
-
The alwaysJoinText property defines whether text nodes are combined automatically whenever a change is made to a tree that results in two text nodes adjacent to each other. Setting it to false allows sequential text nodes to be present in trees which may be useful for some applications, but may prevent Xpath node access from working properly. The default setting is true which is needed to ensure that node access (using a node or all nodes expression works reliably.
-
Example:
set the treeInputFormat's alwaysJoinText to false
-
Related: the treeInputFormat
-