All Projects → eminence → xmltree-rs

eminence / xmltree-rs

Licence: MIT license
Reads an XML file into a simple tree structure

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to xmltree-rs

Android Gpx Parser
A library to parse XML Gpx files, built for Android.
Stars: ✭ 79 (+139.39%)
Mutual labels:  xml-parser
Web Database Analytics
Web scrapping and related analytics using Python tools
Stars: ✭ 175 (+430.3%)
Mutual labels:  xml-parser
Pugixml
Light-weight, simple and fast XML parser for C++ with XPath support
Stars: ✭ 2,809 (+8412.12%)
Mutual labels:  xml-parser
Dart Xml
Lightweight library for parsing, traversing, and transforming XML in Dart.
Stars: ✭ 139 (+321.21%)
Mutual labels:  xml-parser
Didom
Simple and fast HTML and XML parser
Stars: ✭ 1,939 (+5775.76%)
Mutual labels:  xml-parser
Kanna
Kanna(鉋) is an XML/HTML parser for Swift.
Stars: ✭ 2,227 (+6648.48%)
Mutual labels:  xml-parser
Xslt Processor
A JavaScript XSLT processor without native library dependencies
Stars: ✭ 50 (+51.52%)
Mutual labels:  xml-parser
Ruby Nmap
A Ruby interface to nmap, the exploration tool and security / port scanner. Allows automating nmap and parsing nmap XML files.
Stars: ✭ 244 (+639.39%)
Mutual labels:  xml-parser
Parser
📜 XML Document Parser for PHP
Stars: ✭ 171 (+418.18%)
Mutual labels:  xml-parser
Xmlquery
xmlquery is Golang XPath package for XML query.
Stars: ✭ 209 (+533.33%)
Mutual labels:  xml-parser
Xmlbuilder2
An XML builder for node.js
Stars: ✭ 143 (+333.33%)
Mutual labels:  xml-parser
Xml2lua
XML Parser written entirely in Lua that works for Lua 5.1+. Convert XML to and from Lua Tables 🌖💱
Stars: ✭ 150 (+354.55%)
Mutual labels:  xml-parser
Parse Xml
A fast, safe, compliant XML parser for Node.js and browsers.
Stars: ✭ 184 (+457.58%)
Mutual labels:  xml-parser
Sax Wasm
The first streamable, fixed memory XML, HTML, and JSX parser for WebAssembly.
Stars: ✭ 89 (+169.7%)
Mutual labels:  xml-parser
Posthtml
PostHTML is a tool to transform HTML/XML with JS plugins
Stars: ✭ 2,737 (+8193.94%)
Mutual labels:  xml-parser
Oga
Read-only mirror of https://gitlab.com/yorickpeterse/oga
Stars: ✭ 1,147 (+3375.76%)
Mutual labels:  xml-parser
Dlib
Allocators, I/O streams, math, geometry, image and audio processing for D
Stars: ✭ 182 (+451.52%)
Mutual labels:  xml-parser
koa-xml-body
koa middleware to parse xml request body
Stars: ✭ 36 (+9.09%)
Mutual labels:  xml-parser
Webpageparser
A delightful xml and html parsing relish for iOS
Stars: ✭ 236 (+615.15%)
Mutual labels:  xml-parser
Saxy
A fast, easy-to-use and XML 1.0 compliant XML SAX parser in Elixir
Stars: ✭ 192 (+481.82%)
Mutual labels:  xml-parser

xmltree-rs

Documention

A small library for parsing an XML file into an in-memory tree structure.

Not recommended for large XML files, as it will load the entire file into memory.

https://crates.io/crates/xmltree

Usage

Add the following to your Cargo.toml file:

[dependencies]
xmltree = "0.10"

Feature-flags

  • attribute-order - change the data structure that stores attributes to one that uses insertion order. This changes the type definition and adds another dependency.

  • attribute-sorted - change the data structure that stores attributes to one that uses sorted order. This changes the type definition.

Compatability with xml-rs

This crate will export some types from the xml-rs crate. If your own crate also uses the xml-rs crate, but with a different version, the types may be incompatible. One way to solve this is to only use the exported types, but sometimes that is not always possible. In those cases you should use a version of xmltree that matches the version of xml-rs you are using:

xml-rs version xmltree version
0.8 0.10
0.7 0.8
0.6 0.6

Example

See the documentation for some examples:

https://docs.rs/xmltree/

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].