Tree

A html tree

Destructor

~this
~this()
Undocumented in source.

Postblit

this(this)
this(this)
Undocumented in source.

Members

Functions

byAttribute
auto byAttribute(string key, string value)
byAttributeKey
auto byAttributeKey(string name)

See: Node.byXXXX

byClass
auto byClass(string className)
byCssSelector
auto byCssSelector(string selector)
byId
auto byId(string id)
byTagName
auto byTagName(MyHtmlTagId name)
auto byTagName(string name)

See: Node.byXXXX

createCommentNode
Node createCommentNode(string text)

Fast way to create a comment node

createNode
Node createNode(MyHtmlTagId tag, MyHtmlNamespace ns)

Create a new node owned by this tree

createTextNode
Node createTextNode(string text)

Fast way to create a text node

document
auto document()

The document root

first
auto first()

Return the first node

head
auto head()

The head node

html
auto html()

The html node

opAssign
void opAssign(Tree rhs)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

isValid
isValid [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Meta