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.
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
- export_text/1
- flatten_text/1
- export_attribute/1
- normalize_element/1
- normalize_element/3
- expand_element/1
- expand_element/3
- normalize_content/1
- normalize_content/3
- expand_content/1
- expand_content/3
- expand_attributes/1
- expand_attributes/3
- simplify_element/1
- simplify_content/1
- find_attribute/2
- markup/2
- markup/3
- start_tag/1
- start_tag/2
- empty_tag/1
- empty_tag/2
- end_tag/1
- is_empty_data/1
- remove_whitespace/1
- mapxml/2
- foldxml/3
- mapfoldxml/3
- detect_charset/1
- detect_charset/1-1
- is_ncname/1
- is_name/1
- is_char/1
- is_namechar/1
- is_letter/1
- to_lower/1
- is_facet/1
- is_builtin_simple_type/1
- is_xsd_string/1