Document.header

Prepend an XML header to the document tree. Note that this method currently allocates.

  1. Document header()
  2. Document header(immutable(T)[] encoding)
    class Document(T_)
    final
    header
    (
    immutable(T)[] encoding
    )

Parameters

encoding immutable(T)[]

the encoding of the xml document

Meta