T.J. Mather > XML-GDOME-0.86 > XML::GDOME::SAX::Generator

Download:
XML-GDOME-0.86.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  6
Open  0
View/Report Bugs
Source  

NAME ^

XML::GDOME::SAX::Generator - Generate SAX events from a LibXML tree

SYNOPSIS ^

  my $handler = MySAXHandler->new();
  my $generator = XML::GDOME::SAX::Generator->new(Handler => $handler);
  my $dom = XML::GDOME->new->parse_file("foo.xml");
  
  $generator->generate($dom);

DESCRIPTION ^

This helper class allows you to generate SAX events from any XML::GDOME node, and all it's sub-nodes. This basically gives you interop from XML::GDOME to other modules that may implement SAX.

It uses SAX2 style, but should be compatible with anything SAX1, by use of stringification overloading.

There is nothing to really know about, beyond the synopsis above, and a general knowledge of how to use SAX, which is beyond the scope here.

syntax highlighting: