Freelance software grandad
software created
extended or repaired
Follow me on Mastodon
Applications, Libraries, Code
Talks & Presentations
I want Writer to generate correct markup - that's why it's in the SAX directory, not in examples. It can then acts as both an exemplar Filter implementation, as well as a useful filter in its own right. Writer is implemented as a filter, rather than as an end SAX event consumer, so it can be added at any point in a SAX pipeline. Say you were building some complex pipeline which does all kinds of clever transformation. You could slip a Writer in at each stage, each directing its output to a different file and so capture the XML at every stage. What a rocking debug tool that would be :)
Freelance software grandad
software created
extended or repaired
Follow me on Mastodon
Applications, Libraries, Code
Talks & Presentations