API Reference xmerl v1.4
Modules
Functions for exporting XML data to an external format.
Simple event-based front-ends to xmerl_scan for processing of XML documents in streams and for parsing in SAX style. Each contain more elaborate settings of xmerl_scan that makes usage of the customization functions.
XML SAX parser API
This module is the interface to the XML parser, it handles XML 1.0. The XML
parser is activated through xmerl_scan:string/[1,2]
or
xmerl_scan:file/[1,2]
. It returns records of the type defined in xmerl.hrl.
See also tutorial on customization functions.
The xmerl_xpath module handles the entire XPath 1.0 spec. XPath expressions
typically occur in XML attributes and are used to address parts of an XML
document. The grammar is defined in xmerl_xpath_parse.yrl
. The core functions
are defined in xmerl_xpath_pred.erl
.
Erlang has similarities to XSLT since both languages have a functional
programming approach. Using xmerl_xpath
it is possible to write XSLT like
transforms in Erlang.
Interface module for XML Schema validation. It handles the W3.org specifications of XML Schema second edition 28 october 2004. For an introduction to XML Schema study part 0. An XML structure is validated by xmerl_xsd:validate/[2,3].