Jean-Michel Hiver > Petal-Parser-XP-1.02 > Petal::Parser::XP

Download:
Petal-Parser-XP-1.02.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 1.02   Source  

NAME ^

Petal::Parser::XP - XML::Parser backend for Petal parsing

SYNOPSIS ^

  use Petal;
  use Petal::Parser::XP;

SUMMARY ^

Petal used to depend on both XML::Parser and HTML::TreeBuilder for HTML parsing. This has been changed to MKDoc::XML. If you want the XML parsing exactly as it was before though, you can use this module with Petal > 1.10.

Using this module will change $Petal::INPUTS->{XML} to 'Petal::Parser::XP'. This will result in using the same code as in Petal < 1.10 for XML Parsing.

EXPORTS ^

None.

KNOWN BUGS ^

XML::Parser is deprecated and should be replaced by SAX handlers at some point.

Because XML::Parser is used in Stream mode, your comments will be always stripped.

AUTHOR ^

Copyright 2003 - MKDoc Holdings Ltd.

Authors: Jean-Michel Hiver <jhiver@mkdoc.com>.

This module free software and is distributed under the same license as Perl itself. Use it at your own risk.

SEE ALSO ^

  L<Petal>

Join the Petal mailing list:

  http://lists.webarch.co.uk/mailman/listinfo/petal

Mailing list archives:

  http://lists.webarch.co.uk/pipermail/petal

Any extra questions? jhiver@mkdoc.com.