Dominator

Parse, hierarchize, analyse xhtml

Constructors

this
this()

Instantiate empty Dominator

this
this(string haystack)

Instantiate object and load the Document

Members

Functions

getElelment
string getElelment(Node node)

gets the part of the loaded Document from the nodes begining to its end

getInner
string getInner(Node node)

gets the Inner-HTML from the given node

getNodes
Node[] getNodes()

returns all found Nodes. Please note, that also Nodes will be returned which was found in comments. use isComment() to check if a Node is in a comment or use libdominator.Filter.filterComments()

getStartElement
string getStartElement(Node node)

gets the Tag Name of the Node

load
Dominator load(string haystack)

loads a Document

Meta