ae.utils.xmllite

Light read-only XML library May be deprecated in the future. See other XML modules for better implementations.

Members

Aliases

parse
alias parse = parseString!XmlNode

Parse an SGML-ish string into an XmlNode

parseDocument
alias parseDocument = parseString!XmlDocument

Parse an SGML-ish StringStream into an XmlDocument

xmlParse
alias xmlParse = parseDocument!XmlParseConfig
Undocumented in source.

Classes

XmlDocument
class XmlDocument
Undocumented in source.
XmlNode
class XmlNode
Undocumented in source.

Enums

NodeCloseMode
enum NodeCloseMode

The logic for how to handle a node's closing tags.

XmlNodeType
enum XmlNodeType
Undocumented in source.

Functions

decodeEntities
string decodeEntities(string str)
Undocumented in source. Be warned that the author may not have intended to support it.
encodeAllEntities
string encodeAllEntities(string str)
Undocumented in source. Be warned that the author may not have intended to support it.
encodeEntities
string encodeEntities(string str)
Undocumented in source. Be warned that the author may not have intended to support it.
putEncodedEntities
void putEncodedEntities(Sink sink, S str)
Undocumented in source. Be warned that the author may not have intended to support it.

Mixins

__anonymous
mixin DeclareException!q{XmlParseException}
Undocumented in source.

Structs

Html5StrictParseConfig
struct Html5StrictParseConfig

Configuration for strict parsing of HTML5. All void tags must never be closed, and all non-void tags must always be explicitly closed. Attributes must still be quoted like in XML.

XmlParseConfig
struct XmlParseConfig

Configuration for parsing XML.

Templates

parseString
template parseString(Node)
Undocumented in source.

Meta

License

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Authors

Vladimir Panteleev <vladimir@thecybershadow.net> Simon Arlott