Supports Expression Language: true (will be evaluated using flow file attributes and variable registry)CSS Selector | CSS Selector | | | CSS selector syntax string used to extract the desired HTML element(s). Supports Expression Language: true (will be evaluated using flow file attributes and variable registry) |
HTML Character Encoding | HTML Character Encoding | UTF-8 | | Character encoding of the input HTML |
Output Type | Output Type | HTML | | Controls the type of DOM value that is retrieved from the HTML element. |
Destination | Destination | flowfile-attribute | - flowfile-attribute
- flowfile-content
| Control if element extracted is written as a flowfile attribute or as flowfile content. |
Prepend Element Value | Prepend Element Value | | | Prepends the specified value to the resulting Element Supports Expression Language: true (will be evaluated using flow file attributes and variable registry) |
Append Element Value | Append Element Value | | | Appends the specified value to the resulting Element Supports Expression Language: true (will be evaluated using flow file attributes and variable registry) |
Attribute Name | Attribute Name | | | When getting the value of a HTML element attribute this value is used as the key to determine which attribute on the selected element should be retrieved. This value is used when the "Output Type" is set to "Attribute". If this value is prefixed with 'abs:', then the extracted attribute value will be converted into an absolute URL form using the specified base URL. Supports Expression Language: true (will be evaluated using flow file attributes and variable registry) |
Relationships:
Name | Description |
---|
element not found | Element could not be found in the HTML document. The original HTML input will remain in the FlowFile content unchanged. Relationship 'original' will not be invoked in this scenario. |
success | Successfully parsed HTML element |
original | The original HTML input |
invalid html | The input HTML syntax is invalid |
Reads Attributes:
None specified.Writes Attributes:
Name | Description |
---|
HTMLElement | Flowfile attribute where the element result parsed from the HTML using the CSS selector syntax are placed if the destination is a flowfile attribute. |
State management:
This component does not store state.Restricted:
This component is not restricted.Input requirement:
This component requires an incoming relationship.System Resource Considerations:
None specified.See Also:
ModifyHTMLElement, PutHTMLElement