Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xmerl_eventp(3erl) [linux man page]

xmerl_eventp(3erl)					     Erlang Module Definition						xmerl_eventp(3erl)

NAME
xmerl_eventp - Simple event-based front-ends to xmerl_scan for processing of XML documents in streams and for parsing in SAX style. DESCRIPTION
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. EXPORTS
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 continua- tion_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, CallBack::CallBackModule, UserState, Options) -> xmlElement() Types Fname = string() CallBackModule = atom() Options = option_list() Parse file containing an XML document as a stream, SAX style. Wrapper for a call to the XML parser xmerl_scan with a continua- tion_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. AUTHORS
<> xmerl 1.2.8 xmerl_eventp(3erl)

Check Out this Related Man Page

XML::LibXML::SAX(3)					User Contributed Perl Documentation				       XML::LibXML::SAX(3)

NAME
XML::LibXML::SAX - XML::LibXML direct SAX parser DESCRIPTION
XML::LibXML provides an interface to libxml2 direct SAX interface. Through this interface it is possible to generate SAX events directly while parsing a document. While using the SAX parser XML::LibXML will not create a DOM Document tree. Such an interface is useful if very large XML documents have to be processed and no DOM functions are required. By using this interface it is possible to read data stored within a XML document directly into the application data structures without loading the document into memory. The SAX interface of XML::LibXML is based on the famous XML::SAX interface. It uses the generic interface as provided by XML::SAX::Base. Additionally to the generic functions, which are only able to process entire documents, XML::LibXML::SAX provides parse_chunk(). This method generates SAX events from well balanced data such as is often provided by databases. NOTE: At the moment XML::LibXML provides only an incomplete interface to libxml2's native SAX implementation. The current implementation is not tested in production environment. It may causes significant memory problems or shows wrong behaviour. If you run into specific problems using this part of XML::LibXML, let me know. AUTHORS
Matt Sergeant, Christian Glahn, Petr Pajas VERSION
1.70 COPYRIGHT
2001-2007, AxKit.com Ltd. 2002-2006, Christian Glahn. 2006-2009, Petr Pajas. perl v5.12.1 2009-10-07 XML::LibXML::SAX(3)
Man Page

3 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Parse XML file in shell script

Hi Everybody, I have an XML file containing some data and i want to extract it, but the specific issue in my file is that the data is repeated some times like the following example : <section1> <subsection1> X=... Y=... Z=... <\subsection1> <subsection2> X=... Y=... Z=...... (2 Replies)
Discussion started by: yassine
2 Replies

2. UNIX for Dummies Questions & Answers

Parse out part of line in text document

I have an XML file that I am attempting to create a new text document from it with only one of the pieces of data printed. Here's an example: Source: <?xml version="1.0"?> <Reply Success="TRUE"> <ProfileList NrOfProfiles.DWD="645"> <Profile_0 Name="Test" Description="A... (3 Replies)
Discussion started by: Davinator
3 Replies

3. Programming

Parse XML file

How do I get the field info for tags ID, NAME, DESCRIPTION. Below is my current code put I can't get beyond the first_child of the file. use strict; use warnings; use XML::Simplehttp://images.intellitxt.com/ast/adTypes/icon1.png; use... (1 Reply)
Discussion started by: leemalloy
1 Replies