13 releases

Uses old Rust 2015

0.3.2 May 26, 2019
0.3.0 Oct 31, 2018
0.2.6 Dec 5, 2017
0.2.4 Aug 10, 2017
0.1.0 May 15, 2015

#800 in Web programming

Download history 7173/week @ 2024-09-18 5797/week @ 2024-09-25 5950/week @ 2024-10-02 6055/week @ 2024-10-09 8419/week @ 2024-10-16 8360/week @ 2024-10-23 8509/week @ 2024-10-30 7591/week @ 2024-11-06 8545/week @ 2024-11-13 7224/week @ 2024-11-20 6942/week @ 2024-11-27 8277/week @ 2024-12-04 8176/week @ 2024-12-11 5813/week @ 2024-12-18 3408/week @ 2024-12-25 4704/week @ 2025-01-01

23,731 downloads per month
Used in 62 crates (42 directly)

MIT license

235KB
6K SLoC

SXD-Document

An XML library in Rust.

Build Status

Documentation

Overview

The project is currently 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 two goals, one more achievable than the other:

  1. Help me learn Rust.
  2. Replace libxml and libxslt.

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

Dependencies

~75KB