Main > Programming > Libraries >

XML::Parser 2.34

XML::Parser 2.34

Sponsored Links

XML::Parser 2.34 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 10 (1 times)
File size: 0.22 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 1240
Date added: 2006-06-14
Publisher: Larry Wall

XML::Parser 2.34 description

XML::Parser is a perl module for parsing XML documents.

SYNOPSIS

use XML::Parser;

$p1 = new XML::Parser(Style => Debug);
$p1->parsefile(REC-xml-19980210.xml);
$p1->parse( Hello World );

# Alternative
$p2 = new XML::Parser(Handlers => {Start => &handle_start,
End => &handle_end,
Char => &handle_char});
$p2->parse($socket);

# Another alternative
$p3 = new XML::Parser(ErrorContext => 2);

$p3->setHandlers(Char => &text,
Default => &other);

open(FOO, xmlgenerator |);
$p3->parse(*FOO, ProtocolEncoding => ISO-8859-1);
close(FOO);

$p3->parsefile(junk.xml, ErrorContext => 3);

This module provides ways to parse XML documents. It is built on top of XML::Parser::Expat, which is a lower level interface to James Clarks expat library. Each call to one of the parsing methods creates a new instance of XML::Parser::Expat which is then used to parse the document.

Expat options may be provided when the XML::Parser object is created. These options are then passed on to the Expat object on each parse call. They can also be given as extra arguments to the parse methods, in which case they override options given at XML::Parser creation time.

The behavior of the parser is controlled either by "Style" and/or "Handlers" options, or by "setHandlers" method. These all provide mechanisms for XML::Parser to set the handlers needed by XML::Parser::Expat. If neither Style nor Handlers are specified, then parsing just checks the document for being well-formed.

When underlying handlers get called, they receive as their first parameter the Expat object, not the Parser object.

XML::Parser 2.34 Screenshot

Advertisements

XML::Parser 2.34 Keywords

Bookmark XML::Parser 2.34

Hyperlink code:
Link for forum:

XML::Parser 2.34 Copyright

WareSeeker periodically updates pricing and software information of XML::Parser 2.34 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of XML::Parser 2.34 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
Mule is the leading open source ESB (Enterprise Service Bus) and integration platform. Free Download
WebSphere::MQTT::Client is a WebSphere MQ Telemetry Transport Client. Free Download
Gabber is an Jabber Instant Messaging client. Free Download
SWTerm is a non-graphical alternative to the XShipWars Client. Free Download
Linkage is a Gtk+ BitTorrent client written in C++. Free Download
GG Transport is a gateway between Jabber/XMPP and Gadu-Gadu. Free Download
Mozilla::ConsoleService is a Perl interface to Mozilla nsIConsoleService. Free Download
pita is client-server music player. Free Download