#css-selectors #xpath #convert #selector

xcss

Rust Package to Convert the Xpath selectors to CSS selector

2 releases

0.1.1 Mar 11, 2023
0.1.0 Mar 11, 2023

#20 in #xpath

MIT license

3KB

Xcss

Rust Package to Convert the Xpath selectors to CSS selector.

Usage

fn main() {
    let xpath = "//*[@id='foo']";
    let css_selector = xcss::xcss(xpath);
    println!("{}", css_selector);
}

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

No runtime deps