Turns the specified value into a Node.
Turns the specified value into a Node.
Results are wrapped in a ParseResult, which makes this method safe. For an unsafe alternative, see asUnsafeNode.
Turns the specified value into a Node.
Turns an XmlSource[A]
into an XmlSource[B]
.
Turns an XmlSource[A]
into an XmlSource[B]
.
Turns an XmlSource[A]
into an XmlSource[B]
.
Turns an XmlSource[A]
into an XmlSource[B]
.
Evaluates the specified XPath expression against specified value.
Evaluates the specified XPath expression against specified value.
Compiles the specified XPath expression and evaluates it against the specified value.
Compiles the specified XPath expression and evaluates it against the specified value.
Evaluates the specified XPath expression against specified value.
Evaluates the specified XPath expression against specified value.
Compiles the specified XPath expression and evaluates it against specified value.
Compiles the specified XPath expression and evaluates it against specified value.
Sets the specified header to the specified value.
Sets the user-agent to use whenever connecting to a URL.
XmlSource implementation anything that can be turned into a
java.io.URL
.The main purpose here is to allow application developers to set their own HTTP headers: when scrapping websites, it's typically necessary to change the default user agent to something a bit more browser-like.