complexType "updateBlockType"
Namespace:
Content:
complex, 2 attributes, 3 elements
Defined:
globally in hsdl.xsd; see XML source
Includes:
definitions of 2 attributes, 3 elements
Used:
XML Representation Summary
<...
   
 = 
("rollbackBlockAndFail" | "rollbackBlockAndContinue" | "ignore")
 = 
xsd:string
   
>
   
Content: 
</...>
Content Model Elements (3):
deleteRequest (in updateBlock), insertRequest (in updateBlock), replaceRequest (in updateBlock)
All Direct / Indirect Based Elements (1):
updateBlock (in updateRequest)
Known Usage Locations
XML Source (see within schema source)
<xsd:complexType name="updateBlockType">
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="insertRequest" type="insertRequestType"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="deleteRequest" type="deleteRequestType"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="replaceRequest" type="replaceRequestType"/>
</xsd:sequence>
<xsd:attribute name="select" type="string" use="required">
<xsd:annotation>
<xsd:documentation>
This item specifies an XPath expression that establishes global context
for this
<b>updateBlock</b>
. The selection must specify an
<b>xdb:blue</b>
.
With this context established, the enclosed operation's
<b>select</b>
attributes select nodes within this global context. It is not
an error to match zero nodes with this
<b>select</b>
attribute. The empty node set is simply
the context for the enclosed operations, and their
<b>minOccurs</b>
and
<b>maxOccurs</b>
attributes
dictate success or failure.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="onError" use="required">
<xsd:annotation>
<xsd:documentation>
This attribute controls how error conditions raised by individual operations
within an
<b>updateBlock</b>
affect the entire
<b>updateRequest</b>
message. Error conditions
can trigger one of the following actions:
<dl>
<dt>
<b>rollbackBlockAndFail</b>
</dt>
<dd>
If any operation within the
<b>updateBlock</b>
fails, all enclosed operations
are rolled back to their initial state and the
<b>updateRequest</b>
ends in a
failure condition.
</dd>
<dt>
<b>rollbackBlockAndContinue</b>
</dt>
<dd>
If any operation within the
<b>updateBlock</b>
fails, all enclosed operations
are rolled back to their initial state and execution proceeds to the
next
<b>updateBlock</b>
.
</dd>
<dt>
<b>ignore</b>
</dt>
<dd>
Failures within an individual
<b>updateBlock</b>
do not trigger a rollback
or a failure in the
<b>updateRequest</b>
. A failure simply terminates execution
of the
<b>updateBlock</b>
. Successful operations are tagged in the
<b>updateResponse</b>
.
Execution continues at the next
<b>updateBlock</b>
.
</dd>
</dl>
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="rollbackBlockAndFail"/>
<xsd:enumeration value="rollbackBlockAndContinue"/>
<xsd:enumeration value="ignore"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
</xsd:complexType>
Attribute Detail (all declarations; 2/2)
onError
Type:
anonymous simpleType (restriction of xsd:string)
Use:
required
Defined:
locally within (this) updateBlockType complexType
This attribute controls how error conditions raised by individual operations within an <b>updateBlock</b> affect the entire <b>updateRequest</b> message. Error conditions can trigger one of the following actions: <dl> <dt><b>rollbackBlockAndFail</b></dt> <dd> If any operation within the <b>updateBlock</b> fails, all enclosed operations are rolled back to their initial state and the <b>updateRequest</b> ends in a failure condition. </dd> <dt><b>rollbackBlockAndContinue</b></dt> <dd> If any operation within the <b>updateBlock</b> fails, all enclosed operations are rolled back to their initial state and execution proceeds to the next <b>updateBlock</b>. </dd> <dt><b>ignore</b></dt> <dd> Failures within an individual <b>updateBlock</b> do not trigger a rollback or a failure in the <b>updateRequest</b>. A failure simply terminates execution of the <b>updateBlock</b>. Successful operations are tagged in the <b>updateResponse</b>. Execution continues at the next <b>updateBlock</b>. </dd> </dl>
Anonymous simpleType
Derivation:
restriction of xsd:string
XML Source (see within schema source)
<xsd:attribute name="onError" use="required">
<xsd:annotation>
<xsd:documentation>
This attribute controls how error conditions raised by individual operations
within an
<b>updateBlock</b>
affect the entire
<b>updateRequest</b>
message. Error conditions
can trigger one of the following actions:
<dl>
<dt>
<b>rollbackBlockAndFail</b>
</dt>
<dd>
If any operation within the
<b>updateBlock</b>
fails, all enclosed operations
are rolled back to their initial state and the
<b>updateRequest</b>
ends in a
failure condition.
</dd>
<dt>
<b>rollbackBlockAndContinue</b>
</dt>
<dd>
If any operation within the
<b>updateBlock</b>
fails, all enclosed operations
are rolled back to their initial state and execution proceeds to the
next
<b>updateBlock</b>
.
</dd>
<dt>
<b>ignore</b>
</dt>
<dd>
Failures within an individual
<b>updateBlock</b>
do not trigger a rollback
or a failure in the
<b>updateRequest</b>
. A failure simply terminates execution
of the
<b>updateBlock</b>
. Successful operations are tagged in the
<b>updateResponse</b>
.
Execution continues at the next
<b>updateBlock</b>
.
</dd>
</dl>
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="rollbackBlockAndFail"/>
<xsd:enumeration value="rollbackBlockAndContinue"/>
<xsd:enumeration value="ignore"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>

select
Type:
Use:
required
Defined:
locally within (this) updateBlockType complexType
This item specifies an XPath expression that establishes global context for this <b>updateBlock</b>. The selection must specify an <b>xdb:blue</b>. With this context established, the enclosed operation's <b>select</b> attributes select nodes within this global context. It is not an error to match zero nodes with this <b>select</b> attribute. The empty node set is simply the context for the enclosed operations, and their <b>minOccurs</b> and <b>maxOccurs</b> attributes dictate success or failure.
XML Source (see within schema source)
<xsd:attribute name="select" type="string" use="required">
<xsd:annotation>
<xsd:documentation>
This item specifies an XPath expression that establishes global context
for this
<b>updateBlock</b>
. The selection must specify an
<b>xdb:blue</b>
.
With this context established, the enclosed operation's
<b>select</b>
attributes select nodes within this global context. It is not
an error to match zero nodes with this
<b>select</b>
attribute. The empty node set is simply
the context for the enclosed operations, and their
<b>minOccurs</b>
and
<b>maxOccurs</b>
attributes
dictate success or failure.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
Content Element Detail (all declarations; 3/3)
deleteRequest
Type:
deleteRequestType, complex content
Defined:
locally within (this) updateBlockType complexType
XML Source (see within schema source)
<xsd:element maxOccurs="unbounded" minOccurs="0" name="deleteRequest" type="deleteRequestType"/>

insertRequest
Type:
insertRequestType, complex content
Defined:
locally within (this) updateBlockType complexType
XML Source (see within schema source)
<xsd:element maxOccurs="unbounded" minOccurs="0" name="insertRequest" type="insertRequestType"/>

replaceRequest
Type:
replaceRequestType, complex content
Defined:
locally within (this) updateBlockType complexType
XML Source (see within schema source)
<xsd:element maxOccurs="unbounded" minOccurs="0" name="replaceRequest" type="replaceRequestType"/>