Skip to content
YosoiDocs

xpath

yosoi::locators::xpath

pub fn xpath(value: impl Into<String>) -> Result<yosoi::locators::QuerySpec, yosoi::locators::QueryError>

Owns a nonblank supported XPath expression with tree-node result shape.

Returns [QueryError] for blank input. XML namespace and supported evaluator semantics are validated separately; this constructor does not acquire evidence.

Source: crates/yosoi/src/internal/documents/query_builders.rs:19

SDK re-export: Source: crates/yosoi/src/locators.rs:11