do-append-xml-element

Appends a custom element named by the name attribute to the set of elements selected by an expression.

Example

<do-append-xml-element name="jdbc:statement" expression=".."/><do-append-xml-element name="jdbc:sql"expression="../jdbc:statement[last()]"/><do-append-xml-text expression="../jdbc:statement[last()]/jdbc:sql"> <arg-string>  <token-text> UPDATE dirxml.emp SET fname = '</token-text>  <token-op-attr name="Given Name"/> <token-text>' </token-text>  </arg-string> </do-append-xml-text>

Allowed Content

EMPTY

Attributes

Attribute

Possible Values

Default Value

before

CDATA

XPath 1.0 expression evaluated relative to each of the nodes select by expression that returns a node-set containing the child nodes which the new elements 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 elements to which the new elements should be appended.

#REQUIRED

name

NMTOKEN

Tag name of the element

Can contain a namespace prefix if that prefix has been defined on the <policy>.

#REQUIRED

notrace

true | false

True if this element should not be traced during execution of the policy.

false

Content Declaration

Empty

Parent Elements

Element

Description

actions

Actions that are performed by a <rule>.

arg-actions

Actions argument.