Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.210.379 Times

XML::Handler::HTMLWriter 2.01

  Date Added: January 17, 2010  |  Visits: 1.061

XML::Handler::HTMLWriter

Report Broken Link
Printer Friendly Version


Product Homepage
Download (140 downloads)



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..

Requirements: No special requirements
Platforms: Linux
Keyword: Handler Html Htmlwriter Libraries New Parser Programming Sax Sax Handler Writer Writing Xml Xmlhandlerhtmlwriter
Users rating: 0/10

License: Freeware Size: 7.17 KB
USER REVIEWS
More Reviews or Write Review


XML::HANDLER::HTMLWRITER RELATED
Libraries  -  YAPE::HTML 1.11
YAPE::HTML is Yet Another Parser/Extractor for HTML. SYNOPSIS use YAPE::HTML; use strict; my $content = " ... "; my $parser = YAPE::HTML->new($content); my ($extor,@fonts,@urls,@headings,@comments); # here is the tokenizing...
19.46 KB  
Libraries  -  XML::LibXML::Parser 1.63
XML::LibXML::Parser is a Perl module to parse XML Data with XML::LibXML. SYNOPSIS $parser = XML::LibXML->new(); $doc = $parser->parse_file( $xmlfilename ); $doc = $parser->parse_fh( $io_fh ); $doc = $parser->parse_string( $xmlstring); $doc...
256 KB  
Libraries  -  HTML::TreeBuilder 3.23
HTML::TreeBuilder is a parser that builds a HTML syntax tree. SYNOPSIS foreach my $file_name (@ARGV) { my $tree = HTML::TreeBuilder->new; # empty tree $tree->parse_file($file_name); print "Hey, heres a dump of the parse tree of...
122.88 KB  
Libraries  -  XML::SAX::Writer 0.50
XML::SAX::Writer is a Perl module with SAX2 Writer. SYNOPSIS use XML::SAX::Writer; use XML::SAX::SomeDriver; my $w = XML::SAX::Writer->new; my $d = XML::SAX::SomeDriver->new(Handler => $w); $d->parse(some options...); Why yet another...
12.29 KB  
Libraries  -  Polymorphic XML Parser 1.1.6
Polymorphic XML Parser is a validating XML parser for the programming language Objective Caml. In October, 1999, I started writing a validating XML parser for OCaml; the first published versions have been called "Markup" (simply because the...
614.4 KB  
Libraries  -  XML::Parser 2.34
XML::Parser is a perl module for parsing XML documents. SYNOPSIS use XML::Parser; $p1 = new XML::Parser(Style => Debug); $p1->parsefile(REC-xml-19980210.xml); $p1->parse( Hello World ); # Alternative $p2 = new XML::Parser(Handlers...
225.28 KB  
Modules  -  Feeds XPath Parser 7.x-1.0-beta3
Feeds XPath Parser is a Feeds plugin for parsing XML and HTML documents. It enables site builders to leverage the power of Feeds to easily import data from complex, external data sources. Each element you wish to extract is setup using...
10 KB  
Audio Tools  -  ChucK 1.2.0.6
ChucK is a new audio programming language for real-time synthesis, composition, and performance - fully supported on MacOS X, Windows, and Linux. ChucK presents a new time-based concurrent programming model, which supports a highly precise and...
1.5 MB  
Miscellaneous  -  Sax Filters 1.1
This is a set of classes implementing SAX filters, the classes include a SAX class to parse XML documents using Expat and defines a way to create SAX filters to perform SAX- based queries, updates and transformations of documents. Simple filters...
 
Utilities  -  XML Tree Object Model Parser 1.0.1
XML Tree Object Model Parser is an easy to use XML parser designed to provide an easy and simple to use library for parsing XML configuration files. It is split into two components. The first one is the Parser itself, which uses J2SE 1.4 XML...
61.44 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB