A perl module for parsing XML documents
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 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.
You will find examples in
/usr/share/doc/packages/perl-XML-Parser/samples. For documentation
read the XML::Parser and XML::Parser::Expat man pages.
- Developed at devel:languages:perl
-
6
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Factory/perl-XML-Parser && cd $_
- Create Badge
Source Files
Filename | Size | Changed |
---|---|---|
XML-Parser-2.40.diff | 0000000599 599 Bytes | |
XML-Parser-2.44.tar.gz | 0000237377 232 KB | |
perl-XML-Parser.changes | 0000007079 6.91 KB | |
perl-XML-Parser.spec | 0000002805 2.74 KB |
Revision 32 (latest revision is 37)
- avoid a cycle with LWP - updated to 2.44 - RT 99098 - Revert "Add more useful error message on parse to Expat". It breaks XML::Twig. Calling code will need to do this if it's needed. - RT 100959 - Add use FileHandle to t/astress.t - Make perl 5.10.0 happy. - Update to version 2.43 + POD patch to man from Debian via Nicholas Bamber + POD patch from Debian via gregor herrmann. + Add more useful error message on parse to Expat + Fix LWP dependency to be LWP::Useragent + Bump to 2.43 for overdue release to CPAN. - Remove obsolete Authors section - Remove redundant %clean section
Comments 0