View source code
Display the source code in std/xml.d from which this page was generated on github.
Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using local clone.

std.xml.Document.this - multiple declarations

Function Document.this

Constructs a Document by parsing XML text.

this (
  string s
);

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.

Parameters

NameDescription
s the complete XML text.

Function Document.this

Constructs a Document from a Tag.

this (
  const(Tag) tag
);

Parameters

NameDescription
tag the start tag of the document.

Authors

Janice Caron

License

Boost License 1.0.