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

pub struct Context {
    pub context_ptr: xmlXPathContextPtr,
    // some fields omitted
}

The xpath context

Fields

libxml's ContextPtr

Methods

impl Context
[src]

create the xpath context for a document

Register a namespace prefix-href pair on the xpath context

evaluate an xpath

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

impl Drop for Context
[src]

free xpath context when it goes out of scope

Auto Trait Implementations

impl !Send for Context

impl !Sync for Context