Registry / utility / libxml

libxml

JSON →
library0.3.13rscratesunverified

A Rust wrapper for libxml2, the XML C parser and toolkit developed for the Gnome project.

# Cargo.toml [dependencies] libxml = "0.3.13"
INSTALL
IMPORT
SIG · LIBXML
L
libxml
utilityrustv0.3.13
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Parser
use libxml::parser::Parser;

Parse an XML file using libxml2.

use libxml::parser::Parser; fn main() { let parser = Parser::default(); let doc = parser.parse_file("example.xml").unwrap(); println!("Parsed XML: {:?}", doc); }
Debug
Known issues
gotchaRequires libxml2 C library installed on the system.
fix
Install libxml2-dev (Linux) or libxml2 (macOS) via package manager.
affects: *
Upgrade
Version history
0.3.13latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
libxml — cargo add libxml · libregistry