Skip to main content

Crate css_to_xpath

Crate css_to_xpath 

Source

Structs§

Translator
One struct with a kind tag and lowercasing flags. Casing is applied here in the translator, never via Servo’s parser settings, so the translator families differ only in these fields.

Enums§

Error
Mode
The translator flavour: which pseudo-class overrides and name-casing rules to apply. Html and Xhtml share the HTML overrides; only Html lowercases element and attribute names.

Constants§

VERSION
The version of this crate, from Cargo.toml.

Functions§

css_to_xpath
Translate a CSS selector to an XPath 1.0 expression.