Main > Programming > Libraries >

XML::Handler::HTMLWriter 2.01

XML::Handler::HTMLWriter 2.01

Sponsored Links

XML::Handler::HTMLWriter 2.01 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.007 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 810
Date added: 2007-08-08
Publisher: Matt Sergeant

XML::Handler::HTMLWriter 2.01 description

XML::Handler::HTMLWriter is a SAX Handler for writing HTML 4.0.

SYNOPSIS

use XML::Handler::HTMLWriter;
use XML::SAX;

my $writer = XML::Handler::HTMLWriter->new(...);
my $parser = XML::SAX::ParserFactory->parser(Handler => $writer);
...

This module is based on the rules for outputting HTML according to http://www.w3.org/TR/xslt - the XSLT specification. It is a subclass of XML::SAX::Writer, and the usage is the same as that module.

Usage

First create a new HTMLWriter object:

my $writer = XML::Handler::HTMLWriter->new(...);

The ... indicates parameters to be passed in. These are all passed in using the hash syntax: Key => Value.

All parameters are from XML::SAX::Writer, so please see its documentation for more details.

Now pass $writer to a SAX chain:

e.g. a SAX parser:

my $parser = XML::SAX::ParserFactory->parser(Handler => $writer);

Or a SAX filter:

my $tolower = XML::Filter::ToLower->new(Handler => $writer);

Or use in a SAX Machine:

use XML::SAX::Machines qw(Pipeline);

Pipeline(
XML::Filter::XSLT->new(Source => { SystemId => foo.xsl })
=>
XML::Handler::HTMLWriter->new
)->parse_uri(foo.xml);

Initiate processing

XML::Handler::HTMLWriter never initiates processing itself, since it is just a recepticle for SAX events. So you have to start processing on one of the modules higher up the chain. For example in the XML::SAX parser case:

$parser->parse(Source => { SystemId => "foo.xhtml" });

Get the results

Results work via the consumer interface as defined in XML::SAX::Writer.

XML::Handler::HTMLWriter 2.01 Screenshot

Advertisements

XML::Handler::HTMLWriter 2.01 Keywords

Bookmark XML::Handler::HTMLWriter 2.01

Hyperlink code:
Link for forum:

XML::Handler::HTMLWriter 2.01 Copyright

WareSeeker periodically updates pricing and software information of XML::Handler::HTMLWriter 2.01 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::Handler::HTMLWriter 2.01 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
XML::Handler::YAWriter is a yet another Perl SAX XML Writer. Free Download
XML::Handler::Trees is a PerlSAX handlers for building tree structures. Free Download
XML::Writer is a Perl extension for writing XML documents. Free Download
XML::TMX::Writer is a Perl extension for writing TMX files. Free Download
XML::ValidWriter is DOCTYPE driven valid XML output. Free Download
XML::Writer::Simple is a Perl module to create XML files easily! Free Download
XML::SAX::Writer is a Perl module with SAX2 Writer. Free Download
XML::Parser is a perl module for parsing XML documents. Free Download