xmerl_scan

xmerl_scan

Module

xmerl_scan

Module summary

This module is the interface to the XML parser, it handles XML 1.0.

Description

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.

Data types

document() = xmlElement() | xmlDocument()

The document returned by xmerl_scan:string/[1,2] and xmerl_scan:file/[1,2]. The type of the returned record depends on the value of the document option passed to the function.

登录查看完整内容