Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shepmaster/sxd-xpath
An XPath library in Rust
https://github.com/shepmaster/sxd-xpath
Last synced: 19 days ago
JSON representation
An XPath library in Rust
- Host: GitHub
- URL: https://github.com/shepmaster/sxd-xpath
- Owner: shepmaster
- License: apache-2.0
- Created: 2014-11-15T22:30:59.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2022-02-25T00:02:08.000Z (almost 3 years ago)
- Last Synced: 2024-10-13T20:48:19.009Z (about 2 months ago)
- Language: Rust
- Size: 513 KB
- Stars: 120
- Watchers: 8
- Forks: 34
- Open Issues: 29
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
- awesome-rust-cn - shepmaster/sxd-xpath - ci.org/shepmaster/sxd-xpath.svg?branch=master">](https://travis-ci.org/shepmaster/sxd-xpath) (Libraries / Encoding)
- awesome-rust - shepmaster/sxd-xpath - ci.org/shepmaster/sxd-xpath.svg?branch=master">](https://travis-ci.org/shepmaster/sxd-xpath) (Libraries / Encoding)
- awesome-rust - shepmaster/sxd-xpath
- awesome-rust-cn - shepmaster/sxd-xpath
- awesome-rust-zh - shepmaster/sxd-xpath - Rust 中的 XPath 库[<img src="https://api.travis-ci.org/shepmaster/sxd-xpath.svg?branch=master">](https://travis-ci.org/shepmaster/sxd-xpath) (库 / 编码(Encoding))
- awesome-rust - shepmaster/sxd-xpath - An XPath library (Libraries / Encoding)
- awesome-rust - shepmaster/sxd-xpath - ci.org/shepmaster/sxd-xpath.svg?branch=master">](https://travis-ci.org/shepmaster/sxd-xpath) (库 Libraries / 加密 Encoding)
- fucking-awesome-rust - shepmaster/sxd-xpath - An XPath library (Libraries / Encoding)
- fucking-awesome-rust - shepmaster/sxd-xpath - An XPath library (Libraries / Encoding)
README
# SXD-XPath
An XML XPath library in Rust.
[![Build Status](https://github.com/shepmaster/sxd-xpath/workflows/Continuous%20integration/badge.svg)](https://github.com/shepmaster/sxd-xpath/actions?query=branch%3Amaster)
[![Current Version](https://img.shields.io/crates/v/sxd-xpath.svg)](https://crates.io/crates/sxd-xpath)
[![Documentation](https://docs.rs/sxd-xpath/badge.svg)](https://docs.rs/sxd-xpath/)## Overview
The project is broken into two crates:
1. [`document`][sxd-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.
[sxd-document]: https://github.com/shepmaster/sxd-document/
## Goals
This project has a lofty goal: replace [libxml] and [libxslt].
[libxml]: http://xmlsoft.org/
[libxslt]: http://xmlsoft.org/## 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
* Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or https://www.apache.org/licenses/LICENSE-2.0)
* MIT license ([LICENSE-MIT](LICENSE-MIT) or https://opensource.org/licenses/MIT)
at your option.### 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.