2 ms·
> Parser speed is a functin of the input size. And XML inputs are quite big, too big You don't have to parse the complete document to do something about it. Yo
by bambax 4y ago
> Parser speed is a functin of the input size. And XML inputs are quite big, too big
You don't have to parse the complete document to do something about it. You can use a streaming parser, and you can execute XSLT on the fly.
- zaphar 4y agoThis is true but in the early days XML framework libraries gained a well deserved reputation for poor performance because they would parse into a DOM first and then serialize from there. I improved the runtimes of several projects from hours to seconds by switching the serialization from DOM to SAX. The prevalence and focus on the document model for every usage of XML resulted in a reputation hit. One that XML has really struggled to overcome.