Exported Functions | |
---|---|
file_sax/4 | Parse file containing an XML document, SAX style. |
stream/2 | Parse file containing an XML document as a stream, DOM style. |
stream_sax/4 | Parse file containing an XML document as a stream, SAX style. |
string_sax/4 | Parse file containing an XML document, SAX style. |
file_sax(Fname::string(), CallBackModule::atom(), UserState, Options::option_list()) -> NewUserState
Parse file containing an XML document, SAX style.
Wrapper for a call to the XML parser xmerl_scan
with a
hook_fun
for using xmerl export functionality directly after
an entity is parsed.
stream(Fname::string(), Options::option_list()) -> xmlElement()
Parse file containing an XML document as a stream, DOM style.
Wrapper for a call to the XML parser xmerl_scan
with a
continuation_fun
for handling streams of XML data.
Note that the continuation_fun
, acc_fun
,
fetch_fun
, rules
and close_fun
options cannot be user defined using this parser.
stream_sax(Fname, CallBackModule, UserState, Options) -> xmlElement()
Parse file containing an XML document as a stream, SAX style.
Wrapper for a call to the XML parser xmerl_scan
with a
continuation_fun
for handling streams of XML data.
Note that the continuation_fun
, acc_fun
,
fetch_fun
, rules
, hook_fun
,
close_fun
and user_state
options cannot be user
defined using this parser.
string_sax(String::list(), CallBackModule::atom(), UserState, Options::option_list()) -> xmlElement()
Parse file containing an XML document, SAX style.
Wrapper for a call to the XML parser xmerl_scan
with a
hook_fun
for using xmerl export functionality directly after
an entity is parsed.