doctype

fun doctype(rootElement: String, publicId: String? = null, systemId: String? = null)(source)

Adds a DOCTYPE declaration to the content.

Parameters

rootElement

The root element name

publicId

The public identifier (optional)

systemId

The system identifier (optional)