Struct libxml::tree::Document[][src]

pub struct Document(_);

A libxml2 Document

Methods

impl Document
[src]

Creates a new empty libxml2 document

Obtain the underlying libxml2 xmlDocPtr for this Document

Creates a new Document from an existing libxml2 pointer

Write document to filename

Get the root element of the document

Sets the root element of the document

Import a Node from another Document

Serializes the Document

Serializes a Node owned by this `Document

Creates a node for an XML processing instruction

Cast the document as a libxml Node

Duplicates the libxml2 Document into a new instance

Duplicates a source libxml2 Document into the empty Document self

Trait Implementations

impl Clone for Document
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Drop for Document
[src]

Free document when it goes out of scope

Auto Trait Implementations

impl !Send for Document

impl !Sync for Document