9 releases

Uses old Rust 2015

0.4.2 Oct 31, 2018
0.4.1 Aug 12, 2017
0.4.0 Jan 4, 2017
0.3.0 Dec 28, 2016
0.1.1 Jun 29, 2015

#7 in #xpath

Download history 2777/week @ 2023-12-11 3039/week @ 2023-12-18 1902/week @ 2023-12-25 2396/week @ 2024-01-01 3285/week @ 2024-01-08 2904/week @ 2024-01-15 3041/week @ 2024-01-22 2847/week @ 2024-01-29 3006/week @ 2024-02-05 3042/week @ 2024-02-12 3050/week @ 2024-02-19 3576/week @ 2024-02-26 3420/week @ 2024-03-04 4337/week @ 2024-03-11 4671/week @ 2024-03-18 4853/week @ 2024-03-25

17,538 downloads per month
Used in 33 crates (27 directly)

MIT/Apache

225KB
5.5K SLoC

SXD-XPath

An XML XPath library in Rust.

Linux Build Status Windows Build Status Documentation

Overview

The project is broken into two crates:

  1. document - Basic DOM manipulation and reading/writing XML from strings.
  2. xpath - Implementation of XPath 1.0 expressions.

There are also scattered utilities for playing around at the command line.

In the future, I hope to add support for XSLT 1.0.

Goals

This project has a lofty goal: replace libxml and libxslt.

Contributing

  1. Fork it ( https://github.com/shepmaster/sxd-xpath/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Add a failing test.
  4. Add code to pass the test.
  5. Commit your changes (git commit -am 'Add some feature')
  6. Ensure tests pass.
  7. Push to the branch (git push origin my-new-feature)
  8. Create a new Pull Request

License

Licensed under either of

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~360KB