Struct libxml::xpath::Context[][src]

pub struct Context { /* fields omitted */ }

An XPath context

Methods

impl Context
[src]

create the xpath context for a document

Returns the raw libxml2 context pointer behind the struct

Instantiate a new Context for the Document of a given Node. Note: the Context is root-level for that document, use .set_context_node to limit scope to this node

Register a namespace prefix-href pair on the xpath context

evaluate an xpath

evaluate an xpath on a context Node

localize xpath context to a specific Node

find nodes via xpath, at a specified node or the document root

find a literal value via xpath, at a specified node or the document root

Trait Implementations

impl Clone for Context
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl !Send for Context

impl !Sync for Context