View source code
Display the source code in std/xml.d from which this page was generated on
github.
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.
Page wiki
View or edit the community-maintained wiki page associated with this page.
std.xml.document.this
- multiple declarations
- Function Document.this
- Function Document.this
Function 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.
Prototype
this( string s );
Parameters
Name | Description |
---|---|
s | the complete XML text . |
Function Document.this
Constructs a Document
from a Tag
.
Prototype
this( const(Tag) tag );
Parameters
Name | Description |
---|---|
tag | the start tag of the document. |
Authors
Janice Caron