Defining Identifying Queries
You can specify that certain nodes must be present for inbound documents to match the document type. You must also specify the values those nodes must have. To do so, you define identifying XQL queries.
For example, the identifying query below specifies that the OrderRequest tag must be present:
/cXML[0]/Request[0]/OrderRequest[0]
The identifying query below specifies that the Identity tag within the Credential tag that is within the Sender tag must be present, and the Identity tag must evaluate to XYZ Steel Company:
/cXML[0]/Header[0]/Sender[0]/Credential[0]/XYZ Steel Company
For complete information about identifying queries, see
XQL Reference.
![*](bullet.gif)
If you are using a sample document, select in the left panel the node for which to define an identifying query, click
More Actions next to the
Query field, and select
Add Query. In the Add Identifying Query dialog box,
Trading Networks fills in the XQL query and value for the node.
Note: | The node is applicable for DATETIME, STRING, or NUMBER data types. If you want to use DATETIME LIST, STRING LIST, NUMBER (with Average, Minimum, Maximum, and Sum), or NUMBERLIST data types, update the query so that it identifies an array of values. |
![*](bullet.gif)
If you are not using a sample document, click
Add in the Identifying Queries panel on the right. In the Add Identifying Query dialog box, type the query and, optionally, the value.