do-append-xml-text

The <do-append-xml-text> action causes the text provided by <arg-string> to be appended to the set of elements selected by expression. If before is not specified the text is appended after any existing children of the selected elements. If before is specified then it is evaluated relative to each of the elements selected by expression to determine which of the children to insert before. If before evaluates to an empty nodeset or a nodeset that does not contain any children of the selected element, then the text is appended after any existing children, otherwise the text will be inserted before each of the nodes in the nodeset selected by before that are children of the selected node.

Example

See <do-append-xml-element>.

1. Allowed Content

arg-string
string argument

2. Attributes

AttributeValue(s)Default Value
before CDATA
XPATH 1.0 expression evalutated relative to each of the nodes select by expression that returns a node-set containing the child node(s) which the text should be inserted before.
#IMPLIED
disabled true   |  false
true if this element is disabled
false
expression CDATA
XPATH 1.0 expression that returns a node-set containing the element(s) to which the text should be appended
#REQUIRED
notrace true   |  false
false

3. Content Rule

( arg-string )

4. Parent Elements

actions
  actions that are performed by a <rule>
arg-actions
  actions argument

Top Elements || All Elements || Tree


DirXMLScript DTD