Freelance software grandad
software created
extended or repaired
Follow me on Mastodon
Applications, Libraries, Code
Talks & Presentations
SAX::XMLReader<std::wstring> parser; SAX::wWriter writer(std::wcout); writer.setParent(parser); ;... build filter stack here ... SAX::wInputSource is; is.setSystemId(L"stdin"); is.setByteStream(std::cin); writer.parse(is);Writer "kind of" pretty prints, in as much as it tries to indent elements nicely. This will be configurable later on, as will things like turning the XML declaration on and off, declaring a DTD and all the rest of it.
Freelance software grandad
software created
extended or repaired
Follow me on Mastodon
Applications, Libraries, Code
Talks & Presentations