Namespace: |
|
Type: |
|
Content: |
complex, 2 elements |
Defined: |
globally in hsdl.xsd; see XML source |
Used: |
never |
XML Representation Summary |
|||||
<queryRequest> |
|||||
|
|||||
</queryRequest> |
<xsd:annotation>
<xsd:documentation>
</xsd:annotation>
The purpose of the
</xsd:documentation>
<b>queryRequest</b>
message is
to return, in the <b>queryResponse</b>
message, information
from the specified document. The message is designed to carry multiple query operations in a single request message. This allows applications to specify efficient queries and address different pieces of the document in a single message transmission. <p/>
The
<b>queryRequest</b>
message may contain zero or more
<b>xpQuery</b>
elements. These elements
specify data queries on the specified document. They contain an XPath expression that selects a set of nodes, and by using <b>minOccurs</b>
and
<b>maxOccurs</b>
, they can control
how many nodes are returned in a given operation. <p/>
The
<b>queryRequest</b>
message may contain zero or more
<b>changeQuery</b>
elements. The purpose
of this element is to aid client software in building caches populated with .NET My Services data. These elements are designed to issue a query relative to a <b>changeNumber</b>
, and instead of returning
simply content, they return a summary of changed or deleted <b>blue</b>
items.
<p/>
The .NET My Services effort is likely to evolve to include support for XML Query. In anticipation
of this, plans include support for zero or more <b>xmQuery</b>
elements that will be used to
encapsulate the XML Query language. </xsd:element>
|
Type: |
changeQueryType, complex content |
Defined: |
<xsd:annotation>
<xsd:documentation>
</xsd:annotation>
This element is used to request a list of updates relative to a single
</xsd:documentation>
selected node and a <b>changeNumber</b>
value on that node. It is designed specifically
to support client-side caching of .NET My Services content. Any <b>xdb:blue</b>
node
can be selected with the <b>select</b>
attribute. It is an error condition to select more than a single node. While
this element does not support <b>minOccurs/maxOccurs</b>
attributes, it is as if
<b>minOccurs</b>
=0 and
<b>maxOccurs</b>
=1.
The response to this message is an <b>updateRequest</b>
message that contains the insert, replace,
and delete operations that should be processed by the client software to bring its cache up to date with respect to the change number specified in this element. <p/>
There will be times when the .NET My Services system will be unable to return a
<b>changeQueryResponse</b>
that is complete enough bring a client cache in sync. This
can occur when the client is way out of date and numerous delete operations have occurred. In these situations, a <b>changeQuery</b>
will simply fail with a fault condition
and, in response to this message, the client should discard and rebuild its cache. </xsd:element>
|
Type: |
xpQueryType, complex content |
Defined: |
<xsd:annotation>
<xsd:documentation>
</xsd:annotation>
This element specifies an XPath query against the data contained
</xsd:documentation>
within the specified document. The element is contains an XPath expression that selects the nodes the client needs to extract from .NET My Services, and constraints on how many nodes the selection must match. </xsd:element>
|