do-set-xml-attr

The <do-set-xml-attr> action causes a custom XML attribute named by the name attribute to be set on the set of elements selected by expression.

Example

<do-set-xml-attr expression="." name="cert-id">
  <arg-string>
    <token-text>c:\lotus\domino\data\eng.id</token-text>
  </arg-string>
</do-set-xml-attr>

<do-set-xml-attr expression="." name="cert-pwd">
  <arg-string>
    <token-text>certify2eng</token-text>
  </arg-string>
</do-set-xml-attr>

1. Allowed Content

arg-string
string argument

2. Attributes

AttributeValue(s)Default Value
disabled true   |  false
true if this element is disabled
false
expression CDATA
XPATH 1.0 expression that returns a node-set containing the elements(s) on which the XML attribute should be set
#REQUIRED
name CDATA
tag name of the XML attribute
supports variable expansion
after expansion, must be a legal XML QName
may contain a namespace prefix if and only if that prefix maps to an available namespace definition
#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