ae.utils.xml.lite

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

Members

Aliases

XmlAttributes
alias XmlAttributes = OrderedMap!(string, string)

Type used to hold a tag node's attributes.

parse
alias parse = _parseString!XmlNode

Parse an SGML-ish string into an XmlNode

parseDocument
alias parseDocument = _parseString!XmlDocument

Parse an SGML-ish string into an XmlDocument

xmlParse
alias xmlParse = parseDocument!XmlParseConfig

Parse an XML string into an XmlDocument.

Classes

XmlDocument
class XmlDocument

Root node representing a parsed XML document.

XmlNode
class XmlNode

An XML node.

Enums

NodeCloseMode
enum NodeCloseMode

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

XmlNodeType
enum XmlNodeType

The type of an XmlNode.

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 <ae@cy.md> Simon Arlott