Registry / utility / sxd-xpath

sxd-xpath

JSON →
library0.4.2rscratesunverified

A Rust library for evaluating XPath expressions on XML documents.

# Cargo.toml [dependencies] sxd-xpath = "0.4.2"
INSTALL
IMPORT
SIG · SXD-XPATH
S
sxd-xpath
utilityrustv0.4.2
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.

evaluate_xpath
use sxd_xpath::evaluate_xpath;

Evaluate an XPath expression on an XML document.

use sxd_xpath::evaluate_xpath; use sxd_document::parser; let doc = parser::parse("<root><item>value</item></root>").unwrap(); let result = evaluate_xpath(&doc, "/root/item").unwrap(); println!("{:?}", result);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.4.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
sxd-xpath — cargo add sxd-xpath · libregistry