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

#6 in #xpath

Download history 4093/week @ 2023-12-11 4245/week @ 2023-12-18 2693/week @ 2023-12-25 3312/week @ 2024-01-01 4559/week @ 2024-01-08 4879/week @ 2024-01-15 5925/week @ 2024-01-22 4218/week @ 2024-01-29 5230/week @ 2024-02-05 4823/week @ 2024-02-12 4977/week @ 2024-02-19 5360/week @ 2024-02-26 4640/week @ 2024-03-04 6779/week @ 2024-03-11 6943/week @ 2024-03-18 6648/week @ 2024-03-25

25,351 downloads per month
Used in 55 crates (38 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