Creates an XPath selector task.
The task converts a feed of parsed X/HTML trees into a feed of XPath selectors, one selector per tree, so that downstream tasks select nodes by expression rather than walking the tree.
A task converting a feed of parsed X/HTML trees into a feed of XPath selectors
Error While the feed is consumed, if the source feed fails
Creates an XPath mapping task.
The task converts a feed of parsed X/HTML trees into a feed of mapped results, one result per tree, so that downstream tasks work on the shape they need rather than on the markup.
The type of the results mapped from incoming trees
A task converting a feed of parsed X/HTML trees into a feed of mapped results
Error While the feed is consumed, if the source feed fails or mapper throws, including a
SyntaxError for a malformed expression
Creates an XPath selector over given nodes.
Targets nodes already at hand, outside a feed, with the same selection semantics as the selectors emitted by the feed tasks.
A call without nodes, including one spreading an empty list, creates a selector task over a feed rather than a selector with an empty target set.
The target nodes, in selection order
An immutable selector targeting nodes
Creates an XPath selector.