xmerl_lib

Functions


export_text(T) -> term()

flatten_text(T) -> term()

export_attribute(I) -> term()

normalize_element(Element) -> term()

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

expand_element(Element) -> term()

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

normalize_content(Content) -> term()

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

expand_content(Content) -> term()

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

expand_attributes(Attrs) -> term()

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

simplify_element(XmlElement) -> term()

simplify_content(T) -> term()

find_attribute(Name, Attrs) -> term()

markup(Tag, Data) -> term()

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

start_tag(TagStr) -> term()

start_tag(Tag, Attrs) -> term()

empty_tag(Tag) -> term()

empty_tag(Tag, Attrs) -> term()

end_tag(Tag) -> term()

is_empty_data(Xs) -> term()

remove_whitespace(Data) -> term()

mapxml(Fun, XmlElement) -> term()

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

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

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.

is_ncname(A) -> term()

is_name(A) -> term()

is_char(X) -> term()

is_namechar(X) -> term()

is_letter(X) -> term()

to_lower(Str) -> term()

is_facet(X1) -> term()

is_builtin_simple_type(X1) -> term()

is_xsd_string(Atom) -> term()

View Functions