https://github.com/shepmaster/sxd-document
An XML library in Rust
https://github.com/shepmaster/sxd-document
Last synced: 10 days ago
JSON representation
An XML library in Rust
- Host: GitHub
- URL: https://github.com/shepmaster/sxd-document
- Owner: shepmaster
- License: mit
- Created: 2014-11-15T22:28:16.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2020-08-08T03:15:19.000Z (over 4 years ago)
- Last Synced: 2024-10-13T20:48:19.156Z (6 months ago)
- Language: Rust
- Size: 559 KB
- Stars: 154
- Watchers: 10
- Forks: 36
- Open Issues: 33
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-rust-cn - shepmaster/sxd-document - ci.org/shepmaster/sxd-document.svg?branch=master">](https://travis-ci.org/shepmaster/sxd-document) (Libraries / Encoding)
- awesome-rust - shepmaster/sxd-document - ci.org/shepmaster/sxd-document.svg?branch=master">](https://travis-ci.org/shepmaster/sxd-document) (Libraries / Encoding)
- awesome-rust - shepmaster/sxd-document
- awesome-rust-cn - shepmaster/sxd-document
- awesome-rust-zh - shepmaster/sxd-document - Rust 中的 XML 库[<img src="https://api.travis-ci.org/shepmaster/sxd-document.svg?branch=master">](https://travis-ci.org/shepmaster/sxd-document) (库 / 编码(Encoding))
- awesome-rust - shepmaster/sxd-document - An XML library (Libraries / Encoding)
- awesome-rust - shepmaster/sxd-document - ci.org/shepmaster/sxd-document.svg?branch=master">](https://travis-ci.org/shepmaster/sxd-document) (库 Libraries / 加密 Encoding)
- fucking-awesome-rust - shepmaster/sxd-document - An XML library (Libraries / Encoding)
- fucking-awesome-rust - shepmaster/sxd-document - An XML library (Libraries / Encoding)
README
# SXD-Document
An XML library in Rust.
[![crates.io][Crate Logo]][Crate]
[![Documentation][Doc Logo]][Doc]
[![Build Status][CI Logo]][CI][Crate]: https://crates.io/crates/sxd-document
[Crate Logo]: https://img.shields.io/crates/v/sxd-document.svg[Doc]: https://docs.rs/sxd-document
[Doc Logo]: https://docs.rs/sxd-document/badge.svg[CI]: https://github.com/shepmaster/sxd-document/actions?query=branch%3Amaster
[CI Logo]: https://github.com/shepmaster/sxd-document/workflows/Continuous%20integration/badge.svg## Overview
The project is currently broken into two crates:
1. `document` - Basic DOM manipulation and reading/writing XML from strings.
2. [`xpath`][sxd-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-xpath]: https://github.com/shepmaster/sxd-xpath/
## Goals
This project has two goals, one more achievable than the other:
1. Help me learn Rust.
2. Replace [libxml] and [libxslt].[libxml]: http://xmlsoft.org/
[libxslt]: http://xmlsoft.org/## Contributing
1. Fork it ( https://github.com/shepmaster/sxd-document/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