KWARC / rust-libxml

Rust wrapper for libxml2
https://crates.io/crates/libxml
MIT License
76 stars 38 forks source link

Add import_node to Document #17

Closed triptec closed 7 years ago

triptec commented 7 years ago

I need to copy a node from one document to another and this seems to be the function I need.

dginev commented 7 years ago

Looks great! Let me know if you also need crates.io minor releases, whenever tracking the master of the repository isn't sufficient anymore.

triptec commented 7 years ago

I think I'll track the master for now. Is it just me or is the xml manipulation libraries in rust a little immature?

dginev commented 7 years ago

Well yes, indeed! Them being a little immature is the exact reason this wrapper exists - I am perfectly happy to see rust-libxml fade away into obscurity one day, but until the Rust libraries are as impressive as the old-but-gold libxml2 library, this wrapper can be a useful stopgap.

I am hoping the main Rust-native XML libraries are moving forward fast however, I haven't checked recently since my main XML munging needs are at present satisfied.