buildDoctypeEvent

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

Builds a DOCTYPE event from a token.

Parameters

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

Returns

A DOCTYPE event.