Actually I have only implemented readers reading from files and zip archives, but the idea (for the future) is to implement a reader reading from the database. The ultimate goal is to replace the export functions in the engine to use this approach and the StreamingXMLWriter, so that we can export the XML without keeping the whole tree in memory.