XML::Parser::Lite man page on OpenServer

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

XML::Parser::Lite(3)  User Contributed Perl Documentation XML::Parser::Lite(3)

NAME
       XML::Parser::Lite - Lightweight regexp-based XML parser

SYNOPSIS
	 use XML::Parser::Lite;

	 $p1 = new XML::Parser::Lite;
	 $p1->setHandlers(
	   Start => sub { shift; print "start: @_\n" },
	   Char => sub { shift; print "char: @_\n" },
	   End => sub { shift; print "end: @_\n" },
	 );
	 $p1->parse('<foo id="me">Hello World!</foo>');

	 $p2 = new XML::Parser::Lite
	   Handlers => {
	     Start => sub { shift; print "start: @_\n" },
	     Char => sub { shift; print "char: @_\n" },
	     End => sub { shift; print "end: @_\n" },
	   }
	 ;
	 $p2->parse('<foo id="me">Hello <bar>cruel</bar> World!</foo>');

DESCRIPTION
       This Perl module gives you access to XML parser with interface similar
       to XML::Parser interface. Though only basic calls are supported (init,
       final, start, char, and end) you should be able to use it in the same
       way you use XML::Parser. Due to using experimantal regexp features
       it'll work only on Perl 5.6 and may behave differently on different
       platforms.

SEE ALSO
	XML::Parser

COPYRIGHT
       Copyright (C) 2000-2001 Paul Kulchenko. All rights reserved.

       This library is free software; you can redistribute it and/or modify it
       under the same terms as Perl itself.

       This parser is based on "shallow parser"
       http://www.cs.sfu.ca/~cameron/REX.html Copyright (c) 1998, Robert D.
       Cameron.

AUTHOR
       Paul Kulchenko (paulclinger@yahoo.com)

perl v5.8.8			  2006-08-16		  XML::Parser::Lite(3)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server OpenServer

List of man pages available for OpenServer

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