SVG::Parser::SAX man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

SVG::Parser::SAX(3)   User Contributed Perl Documentation  SVG::Parser::SAX(3)

NAME
       SVG::Parser::SAX - XML SAX Parser for SVG documents

SYNOPSIS
	 #!/usr/bin/perl -w
	 use strict;
	 use SVG::Parser::SAX;

	 die "Usage: $0 <file>\n" unless @ARGV;

	 my $xml;
	 {
	     local $/=undef;
	     $xml=<>;
	 }

	 my $parser=new SVG::Parser::SAX(-debug => 1);

	 my $svg=$parser->parse($xml);

	 print $svg->xmlify;

DESCRIPTION
       SVG::Parser::SAX is the SAX-based parser module used by SVG::Parser
       when an underlying XML::SAX-based parser is selected. It may also be
       used directly, as shown in the synopsis above.

       Use SVG::Parser to retain maximum flexibility as to which underlying
       parser is chosen.  Use SVG::Parser::SAX to supply SAX-specific parser
       options or where the presence of a functional XML::SAX parser is known
       and/or preferred.

   EXPORTS
       None. However, a preferred SAX parser implementations can be specified
       by passing the package name to SVG::Parser::SAX in the import list. For
       example:

	   use SVG::Parser::SAX qw(XML::LibXML::SAX::Parser);

       A minimum version number may be additionally suppied as a second import
       item:

	   use SVG::Parser::SAX (XML::LibXML::SAX::Parser => 1.40);

       This overrides the automatic selection of a suitable SAX parser. To try
       several different parsers in turn, use the SVG::Parser module instead
       and restrict it to only try SAX-based parsers. To make use of the
       automatic selection mechanism, omit the import list.

       When loaded via SVG::Parser, this parent class may be specified by
       placing it after the '=' in a parser specification:

       See SVG::Parser for more details.

   EXAMPLES
       See "svgsaxparse" in the examples directory of the distribution.

AUTHOR
       Peter Wainwright, peter.wainwright@cybrid.net

SEE ALSO
       SVG, SVG::Parser, SVG::Parser::Expat, XML::SAX

perl v5.14.1			  2011-07-21		   SVG::Parser::SAX(3)
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net