xmerl_lib

Functions


detect_charset(T::list()) -> charset_info()

detect_charset(ExtCharset::atom(), T::list()) -> charset_info()

Automatically decides character set used in XML document. charset_info() is

{auto,'iso-10646-utf-1',Content} |
{external,'iso-10646-utf-1',Content} |
{undefined,undefined,Content} |
{external,ExtCharset,Content}

ExtCharset is any externally declared character set (e.g. in HTTP Content-Type header) and Content is an XML Document.

empty_tag(Tag) -> term()

empty_tag(Tag, Attrs) -> term()

end_tag(Tag) -> term()

expand_attributes(Attrs) -> term()

expand_attributes(T, Pos, Parents) -> term()

expand_content(Content) -> term()

expand_content(Content, Pos, Parents) -> term()

expand_element(Element) -> term()

expand_element(Element, Pos, Parents) -> term()

export_attribute(I) -> term()

export_text(T) -> term()

find_attribute(Name, Attrs) -> term()

flatten_text(T) -> term()

foldxml(Fun, Accu0, XmlElement) -> term()

is_builtin_simple_type(X1) -> term()

is_char(X) -> term()

is_empty_data(Xs) -> term()

is_facet(X1) -> term()

is_letter(X) -> term()

is_name(A) -> term()

is_namechar(X) -> term()

is_ncname(A) -> term()

is_xsd_string(Atom) -> term()

mapfoldxml(Fun, Accu0, XmlElement) -> term()

mapxml(Fun, XmlElement) -> term()

markup(Tag, Data) -> term()

markup(Tag, Attrs, Data) -> term()

normalize_content(Content) -> term()

normalize_content(Content, Pos, Parents) -> term()

normalize_element(Element) -> term()

normalize_element(Element, Pos, Parents) -> term()

remove_whitespace(Data) -> term()

simplify_content(T) -> term()

simplify_element(XmlElement) -> term()

start_tag(TagStr) -> term()

start_tag(Tag, Attrs) -> term()

to_lower(Str) -> term()

View Functions