Attribute

Undocumented in source.

Constructors

this
this(tstring name, tstring value, Element parent)
Undocumented in source.

Members

Functions

name
tstring name()
Undocumented in source. Be warned that the author may not have intended to support it.
value
tstring value()
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From Element

tag
Tag tag;

The start tag of the element

items
Item[] items;

The element's items

texts
Text[] texts;

The element's text items

cdatas
CData[] cdatas;

The element's CData items

comments
Comment[] comments;

The element's comments

pis
ProcessingInstruction[] pis;

The element's processing instructions

elements
Element[] elements;

The element's child elements

parent
Element parent;
Undocumented in source.
name
string name()
Undocumented in source. Be warned that the author may not have intended to support it.
value
string value()
Undocumented in source. Be warned that the author may not have intended to support it.
opOpAssign
void opOpAssign(Text item)

Append a text item to the interior of this element

opOpAssign
void opOpAssign(CData item)

Append a CData item to the interior of this element

opOpAssign
void opOpAssign(Comment item)

Append a comment to the interior of this element

opOpAssign
void opOpAssign(ProcessingInstruction item)

Append a processing instruction to the interior of this element

opOpAssign
void opOpAssign(Element item)

Append a complete element to the interior of this element

opEquals
bool opEquals(Object o)

Compares two Elements for equality

opCmp
int opCmp(Object o)

Compares two Elements

toHash
size_t toHash()

Returns the hash of an Element

text
string text(DecodeMode mode)

Returns the decoded interior of an element.

pretty
string[] pretty(uint indent)

Returns an indented string representation of this item

toString
string toString()

Returns the string representation of an Element

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

Meta