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.
Compiles the specified XPath expression and evaluates it against the specified value.
Evaluates the specified XPath expression against specified value.
Compiles the specified XPath expression and evaluates it against specified value.
Type class for turning instances of
A
into valid instances of Node.While it's certainly possible, instances of XmlSource are rarely used directly. The preferred, idiomatic way is to use the implicit syntax provided by XmlSourceOps, brought in scope by importing
kantan.xpath.ops._
.See the companion object for construction methods and default instances.