Document.this

Constructs a Document by parsing XML text.

This function creates a complete DOM (Document Object Model) tree.

The input to this function MUST be valid XML. This is enforced by DocumentParser's in contract.

  1. this(string s)
    class Document
    this
    (
    string s
    )
  2. this(const(Tag) tag)

Parameters

s string

the complete XML text.

Meta