ballsteve / xrust

XPath, XQuery, and XSLT for Rust
Apache License 2.0
85 stars 7 forks source link

Parser updates #20

Closed Devasta closed 2 years ago

Devasta commented 2 years ago

Hi Steve,

Some small updates, the parser issues around spaces at the start of element names should be fixed now, and the parser will no longer accept duplicate attribute names.

I've also dipped my toes in the XSLT processor if thats alright, just did a basic change to add support for "disable-output-escaping" on text nodes... I am sure that'll be replaced when xsl:character-map gets implemented anyway.

ballsteve commented 2 years ago

Regarding getting into the XSLT code... go right ahead!

Devasta commented 2 years ago

Thanks!