XML Parser

From Free Software Directory
Revision as of 11:36, 12 April 2011 by WikiSysop (talk | contribs)

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


[edit]

Xml-Parser

https://metacpan.org/release/XML-Parser
Perl module for parsing XML files.

The XML::Parser module provides ways to parse XML documents. It is built on top of XML::Parser::Expat, which is a lower level interface to James Clark's 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.





Licensing

License

Verified by

Verified on

Notes

License

Other

Verified by

Debian: Niko Tyni <ntyni@debian.org>

Verified on

6 September 2014

Notes

License: artistic or gpl-1+




Leaders and contributors

Contact(s)Role
Todd Rinaldo Maintainer


Resources and communication

AudienceResource typeURI
Perl (Ref)https://metacpan.org/release/XML-Parser
Debian (Ref) (R)https://tracker.debian.org/pkg/libxml-parser-perl
VCS Repository Webviewhttps://github.com/toddr/XML-Parser/


Software prerequisites

KindDescription
Required to uselibexpat 1.95.0 or later
Required to usePerl 5.004 or later




Entry






















Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.

The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.