Copyright © (C) 2011-2021, Erlang Solutions Ltd.
attr() = {binary(), binary()}
cdata() = #xmlcdata{}
element() = #xmlel{}
item() = element() | attr() | cdata() | exml_stream:start() | exml_stream:stop()
parse/1 | |
to_binary/1 | |
to_iolist/1 | |
to_list/1 | |
to_pretty_iolist/1 | |
xml_size/1 | |
xml_sort/1 | Sort a (list of) xmlel() . |
parse(XML::binary() | [binary()]) -> {ok, exml:element()} | {error, any()}
to_binary(Element::element() | [exml_stream:element()]) -> binary()
to_iolist(Element::element() | [exml_stream:element()]) -> iodata()
to_list(Element::element() | [exml_stream:element()]) -> string()
to_pretty_iolist(Element::element() | [exml_stream:element()]) -> iodata()
Sort a (list of) xmlel()
.
Sorting is defined as calling lists:sort/1
at:
* all the xmlel
s provided (if there is a list of them) AND
* all the xmlel
elements' attributes recursively (the root and descendants) AND
* all the xmlel
children recursively (the root and descendants).
The order is ascending.
Generated by EDoc