Trading Networks 10.3 | Administering and Monitoring B2B Transactions | webMethods Module for EDI | Configuring webMethods Module for EDI | Defining TN EDI Document Types | Step 2: Define Attributes to be Extracted from Documents | Extracting a Document Attribute Using an XQL Query
 
Extracting a Document Attribute Using an XQL Query
You can use an XQL query of a node in the document tree to extract a document attribute by following this procedure. For examples, see Examples of Extracting a Document Attribute Using an XQL Query.
*To extract a document attribute by specifying an XQL query of a node in the document tree
1. In My webMethods: Administration > Integration > B2B > Document Types Administration > Document Types.
2. Select the document type for which you want to specify attributes to extract and then click the Action tab.
3. On the Extract tab, in the document tree view, select a node that represents the attribute that you want Trading Networks to extract.
4. Click either next to the Query field or in the Action column in the EDI document tree view panel.
5. Select Add Attribute.
6. In the Add Extracted Attribute dialog box, specify the values, as described in Step 2: Define Attributes to be Extracted from Documents.
7. Click OK.