XML::Filter::BufferText man page on OpenServer

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

BufferText(3)	      User Contributed Perl Documentation	 BufferText(3)

NAME
       XML::Filter::BufferText - Filter to put all characters() in one event

SYNOPSIS
	 my $h = SomeHandler->new;
	 my $f = XML::Filter::BufferText->new( Handler => $h );
	 my $p = SomeParser->new( Handler => $f );
	 $p->parse;

DESCRIPTION
       This is a very simple filter. One common cause of grief (and programmer
       error) is that XML parsers aren't required to provide character events
       in one chunk. They can, but are not forced to, and most don't. This
       filter does the trivial but oft-repeated task of putting all characters
       into a single event.

       Note that this won't help you cases such as:

	 <foo> blah <!-- comment --> phubar </foo>

       In the above case, given the interleaving comment, there will be two
       "character()" events. This may be worked around in the future if there
       is demand for it.

       An interesting way to use this filter, instead of telling users to use
       it, is to return it from your handler's constructor, already configured
       and all.	 That'll make the buffering totally transparent to them
       ("XML::SAX::Writer" does that).

AUTHOR
       Robin Berjon, robin@knowscape.com

COPYRIGHT
       Copyright (c) 2001-2002 Robin Berjon. All rights reserved. This program
       is free software; you can redistribute it and/or modify it under the
       same terms as Perl itself.

SEE ALSO
       XML::SAX::*, XML::Generator::*, XML::Handler::*, XML::Filter::*

perl v5.8.8			  2003-07-04			 BufferText(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