<xs:attributeGroup name="activityManipulate">
<xs:attributeGroup ref="sqf:activityBase"/>
<xs:attribute name="node-type" type="sqf:nodeTypeType">
<xs:annotation>
<xs:documentation>The
<icode type="attribute">node-type</icode>attribute defines the node type of the nodes to be added. The attribute is required, if the target attribute is set.</xs:documentation>
<xs:documentation>If the
<icode type="attribute">node-type</icode>value is missing, the activity element should not have a
<icode type="attribute">target</icode>attribute. In this case the nodes to be added will be defined by the activity elements content or
<icode type="attribute">select</icode>attribute.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="select" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>The
<icode type="attribute">select</icode>attribute defines nodes or an atomic value as the content of the node to be added. If the
<icode type="attribute">select</icode>attribute is set, the activity element should be empty.</xs:documentation>
<xs:documentation>The selected nodes will be copied into the node to be added. Unlike a deep copy function, the copied nodes could be manipulated by the current or other activity elements.</xs:documentation>
<xs:documentation source="Value">XPath expression. The context of relative expressions is the anchor node.</xs:documentation>
<xs:documentation source="Default">There is no default value. If the
<icode type="attribute">select</icode>attribute is not set, the content of the activity element defines the content of the nodes to be added.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="target" type="xs:string">
<xs:annotation>
<xs:documentation>This attribute defines the name of the node to be added. The attribute is required if the
<icode type="attribute">node-type</icode>attribute is specified and the value is not
<icode type="attributeValue">comment</icode>.</xs:documentation>
<xs:documentation source="Value">A string to define a node name. The string can be specified by XPath expressions which are marked by curly brackets. After processing, the name must be valid to the XML Schema type xs:QName.</xs:documentation>
<xs:documentation>Prefixes must be attached to a namespace in the current context of the Schematron schema. Names without prefixes will be attached to the namespace declared by the
<icode type="element">sqf:default-namespace</icode>element or to the null namespace.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:attributeGroup> |