This is a text description of s3ahxmls.gif.
This screen shot shows Step 3 of 4: Result Node for the Web Service HTML/XML Stream Processing Wizard
The Result Node window shows the structure of the HTML or XML stream as a HTML/XML stream tree and lets you define your Web service response based on the contents of the HTML/XML stream.
You have two options in defining your Web service response:
The HTML/XML Stream section shows the structure of the HTML or XML stream from the URL you specified in the previous step.
If you want to select the entire HTML stream to be part of your Web service response, ignore this HTML/XML Stream section and select the first option Return the entire HTML/XML Stream as the Web service response in the Web Service Response section, then click the Next button at the bottom of the window to continue to the next step.
If you want to select just the parent node that contains the complete set of service results in the HTML/XML stream and define this to be your Web service response, first navigate to the element of interest in the HTML/XML stream tree, then navigate to the parent node of interest by moving up the HTML/XML stream tree.
You can quickly locate the element of interest in the HTML/XML stream tree by entering its name in the Find field and clicking the Next button at the end of this field. The name of the element of interest becomes highlighted in the HTML/XML stream tree. You can navigate to the next or previous occurrence of this element of interest by clicking the Next or Previous button at the end of the Find field.
From the highlighted element of interest, next navigate to the parent node that contains the complete set of service results by moving up the tree until you locate that parent node. The parent node is usually the next lowest table row node (xhtml:tr) located above the element node of interest.
Note that the Node Location field contains the complete name of the highlighted node you selected.
The Web Service Response section lets you define the Web service response as either the entire HTML/XML stream or as the parent node you selected in the HTML/XML Stream section. If the parent node contains siblings, you can optionally select them all to be included in the Web service response. If you choose to include all the siblings in the Web service response, you can click the Advanced Settings button to enter a predicate that filters the set of sibling nodes, view the resulting Xpath, and veiw or edit the Resonse element name.
If you want to select the entire HTML/XML stream to be part of your Web service response, select the first option Return the entire HTML/XML Stream as the Web service response, then click the Next button at the bottom of the window to continue to the next step.
If you want to select just the parent node that contains the complete set of service results in the HTTP response, select the second option Define the Web service response from the selected node. When you make this selection, another option is now available and that is whether to include all the siblings of the selected node in the response.
If the node you selected has siblings that you want to include in the Web service response, select the option Include all the siblings of the selected node in the response. If there are no siblings to include in the Web service response, leave this option unselected. When you make this selection, an Advanced Settings button appears. Click the Advanced Settings button to display the Advanced Settings popup window where you can enter a predicate that filters the set of sibling nodes, view the resulting Xpath, and veiw or edit the Resonse element name.
The following predicate filters out the first position: position() != 1. Enter this predicate expression in the Predicate that filters the set of sibling nodes field of the Advanced Settings window to filter the first sibling from the Web service response.
For more information about predicates, filters, syntax, and composing a predicate expression, see the Xpath section of the following Web site: HTTP://www.w3c.org/TR/xpath.
Click the OK button in the Advanced Settings window to save your changes or click the Cancel button to cancel this operation. Either action returns you to the Result Node window.
Back at the Result Node window, if you have completed your selections, you can: