XmlEventWriter::writeProcessingInstruction

#include <DbXml.hpp>

virtual void XmlEventWriter::writeProcessingInstruction(
	     const unsigned char *target,
	     const unsigned char *data)

Write a ProcessingInstruction to the XmlEventWriter .

Parameters

target

The processing instruction target.

data

The processing instruction data.

Errors

The XmlEventWriter::writeProcessingInstruction method may fail and throw XmlException , encapsulating one of the following non-zero errors:

EVENT_ERROR

An error occurred during processing of an XmlEventWriter object. Most likely the error is attempting to write a type or value that is not valid in the current state of the object.

Class

XmlEventWriter

See Also

XmlEventWriter Methods