text.xml.Validation

Undocumented in source.

Members

Aliases

nodes
alias nodes = filter!(node => node.type == XmlNode.Type.element)
Undocumented in source.
require
alias require = requireImpl!"to"
Undocumented in source.
requirePositive
alias requirePositive = requireImpl!"toPositive"
Undocumented in source.
requireTime
alias requireTime = requireImpl!"toTime"
Undocumented in source.

Functions

enforceFixed
void enforceFixed(XmlNode node, string name, string expected)

* Throws: XmlException on validity violation.

enforceName
void enforceName(XmlNode node, string name)
findDescendants
auto findDescendants(XmlNode node, string name)
Undocumented in source. Be warned that the author may not have intended to support it.
normalize
string normalize(string value)
Undocumented in source. Be warned that the author may not have intended to support it.
requireChild
XmlNode requireChild(XmlNode node, string name)
requireChild
XmlNode requireChild(XmlNode node)
requireChildren
auto requireChildren(XmlNode node, string name)
requireChildren
XmlNode[] requireChildren(XmlNode node)
requireDescendant
XmlNode requireDescendant(XmlNode node, string name)
requireDescendants
auto requireDescendants(XmlNode node, string name)

Templates

requireImpl
template requireImpl(string conversion)
Undocumented in source.

Meta