Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/shepmaster/sxd-document

An XML library in Rust
https://github.com/shepmaster/sxd-document

Last synced: about 1 month ago
JSON representation

An XML library in Rust

Lists

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