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()
Equivalent to detect_charset(undefined, T).
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.