ballsteve / xrust

XPath, XQuery, and XSLT for Rust
Apache License 2.0
89 stars 9 forks source link

Ixml #65

Closed ballsteve closed 11 months ago

ballsteve commented 11 months ago

Added an example that shows how to integrate Invisible XML (ixml crate) with Xrust.

The integration would be a lot better, smoother, if the ixml crate had some additional features. In particular, defining a trait for building the parse tree instead of hard-coding the use of indextree. That way, we could supply an intmuttree RNode.

Devasta commented 11 months ago

Reviewing at the moment. One test failing for me, xpath_root_desc_or_self_3...

ballsteve commented 11 months ago

That test is a known fail. It is due to the step function not de-duplicating nodes. I have to check the XPath spec to see what is the correct behaviour.