buildPIEvent

fnXmlEvent buildPIEvent( const ref TokenProcessingState state, const XmlToken tok) @safe nothrow

Builds a PROCESSING_INSTRUCTION event from a token.

Parameters

stateProcessing state (used for depth and namespace lookup; not mutated).
tokThe PROCESSING_INSTRUCTION token.

Returns

A PROCESSING_INSTRUCTION event.