News for hackers. Stuff that matters.
Re:Xee: A Modern XPath and XSLT Engine in Rust by nicoburns on Friday March 28, 2025 @07:09PM (#43510878)
Shouldn't parsed XML be smaller than the raw uncompressed text? (as you could deduplicate strings). I'd expect that to be a significant saving for something like wikipedia in XML
Re:Xee: A Modern XPath and XSLT Engine in Rust by philipkglass on Friday March 28, 2025 @07:32PM (#43511027)
For Wikipedia, the bulk of the data in the XML is inside a "<text>" block that contains wikitext: https://en.wikipedia.org/wiki/Help:Wikitext

For the English Wikipedia the wikitext accounts for about 80% of the bytes of the uncompressed XML.