bobulous,
@bobulous@fosstodon.org avatar

@swsnr I recently published a crate for reading XML:

https://docs.rs/spex/latest/spex/

There's no fancy unmarshalling; the entire document just gets read into an element tree. It does support namespaces, though, and I spent a lot of time creating traversal mechanisms (XmlPath and cursors) in the hope it makes it easy to grab the desired data out of the tree.

Probably not a JAXB substitute, but maybe useful in some scenarios.

#RustLang #XML

  • All
  • Subscribed
  • Moderated
  • Favorites
  • rust
  • everett
  • DreamBathrooms
  • khanakhh
  • InstantRegret
  • ngwrru68w68
  • magazineikmin
  • mdbf
  • thenastyranch
  • Youngstown
  • rosin
  • slotface
  • tacticalgear
  • kavyap
  • tester
  • megavids
  • cubers
  • osvaldo12
  • GTA5RPClips
  • Durango
  • cisconetworking
  • Leos
  • ethstaker
  • anitta
  • normalnudes
  • modclub
  • provamag3
  • JUstTest
  • lostlight
  • All magazines