# HG changeset patch # User František Kučera # Date 1547220025 -3600 # Node ID 85741b08db48d6715d3041cc857bbbdd6a92851e # Parent be83e0f457a8daf0ed3dc5c75c8aab7e5b07c9d5 generic XML parser for arbitrary documents: this revision could be forked as relpipe-in-sax diff -r be83e0f457a8 -r 85741b08db48 src/XMLCommand.h --- a/src/XMLCommand.h Fri Jan 11 16:13:21 2019 +0100 +++ b/src/XMLCommand.h Fri Jan 11 16:20:25 2019 +0100 @@ -122,6 +122,14 @@ writer->writeAttribute(L""); } + void processingInstruction(const XMLCh * const target, const XMLCh * const data) override { + writer->writeAttribute(L"processingInstruction"); + writer->writeAttribute(L""); + writer->writeAttribute(L""); + writer->writeAttribute(xConvertor.toString(target)); + writer->writeAttribute(xConvertor.toString(data)); + } + void endDocument() override { writer->writeAttribute(L"endDocument"); writer->writeAttribute(L"");