package
0.0.0-20190422014600-3dcec2c44e24
Repository: https://github.com/existed/libxml2.git
Documentation: pkg.go.dev

# Functions

Bool returns the boolean component of the result, and as a side effect releases the Result by calling Free() on it.
NewContext creates a new Context, optionally providing with a context node.
NewExpression compiles the given XPath expression string.
No description provided by the author
NodeIter returns an iterator that will return the nodes assocaied with this reult, and as a side effect releases the result by calling Free() on it.
NodeList returns the nodes associated with this result, and as a side effect releases the result by calling Free() on it.
Number returns the numeric component of the result, and as a side effect releases the Result by calling Free() on it.
String returns the string component of the result, and as a side effect releases the Result by calling Free() on it.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

WrapNodeFunc is a function that gets called when Object.NodeList() is called.

# Structs

Context holds the current XPath context.
Expression is a compiled XPath expression.
NodeIterator is a way to get at a list of nodes returned by XPath et al in a lazy (and possibly more efficient) manner.
Object is the concrete implementatin of Result (types.XPathResult).

# Type aliases

Result is an alias to types.XPathResult.