Extracts data from a web page in an XML text node.

The Text extraction rule helps you extract a text from an HTML page. It is applied if the result of the Xpath expression evaluation exists in the HTML page DOM.
It creates a simple XML element containing text extracted from the first matching node. This text element is appended to the resulting HTML transaction DOM as follows:
<text_tagname referer="referer_url">extracted text from xpath</text_tagname>

Property Type Category Description
Comment String configuration Describes the object comment to include in the documentation report.
This property generally contains an explanation about the object.
Display referer boolean configuration Defines whether the referer URL is displayed in the output XML element.
If this property is set to true, the referer URL is added as an attribute, named referer, to the XML element added by the extraction rule.
Is active boolean configuration Defines whether the extraction rule is active.
Recurse boolean configuration Defines whether text extraction should recurse on child elements of the matching node.
Tag name String configuration Defines the tag name in the resulting XML (default tag name is XMLText).
XPath String selection Defines the Xpath expression of nodes on which the extraction rule applies.
Depending on the extraction rule, the execution of this Xpath on the web page DOM can result in a single Node or a NodeList.