View Source XmlBuilder.Element (xml_builder_ex v3.1.4)

The internal representation of the XML element, responsible for parsing and normalization.

Generally, you won’t use this internal module.

Link to this section Summary

Types

The raw internal representation of the XML element

The AST representation of XML

Attributes of the XML element

Single inner subelement of the XML element

Whole inner content of the XML element

Name of the XML element

t()

The internal representation of the XML element

Link to this section Types

@type as_tuple() :: {name(), attrs(), contents()}

The raw internal representation of the XML element

@type ast() :: as_tuple() | [as_tuple()]

The AST representation of XML

@type attrs() :: map() | nil

Attributes of the XML element

@type content() :: tuple() | String.t()

Single inner subelement of the XML element

@type contents() :: [content()] | nil

Whole inner content of the XML element

@type name() :: bitstring() | binary() | atom()

Name of the XML element

@type t() :: %XmlBuilder.Element{attrs: attrs(), content: contents(), name: name()}

The internal representation of the XML element