buildCDataEvent

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

Builds a CDATA event from a token.

Parameters

stateProcessing state (used for depth; not mutated).
tokThe CDATA token.

Returns

A CDATA event.