Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    XML::Filter::Merger 0.41

    Download button

    No screenshots available
    Downloads: 318  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Good (3.2/5)
    16 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Barrie Slaymaker | More programs
    Perl Artistic License / FREE
    June 9th, 2008, 11:13 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    XML::Filter::Merger description

    XML::Filter::Merger is a Perl module to assemble multiple SAX streams in to one document.

    XML::Filter::Merger is a Perl module to assemble multiple SAX streams in to one document.

    SYNOPSIS

    ## See XML::SAX::Manifold and XML::SAX::ByRecord for easy ways
    ## to use this processor.

    my $w = XML::SAX::Writer->new( Output => *STDOUT );
    my $h = XML::Filter::Merger->new( Handler => $w );
    my $p = XML::SAX::ParserFactory->parser( Handler => $h );

    ## To insert second and later docs in to the first doc:
    $h->start_manifold_document( {} );
    $p->parse_file( $_ ) for @ARGV;
    $h->end_manifold_document( {} );

    ## To insert multiple docs inline (especially useful if
    ## a subclass does the inline parse):
    $h->start_document( {} );
    $h->start_element( { ... } );
    ....
    $h->start_element( { Name => "foo", ... } );
    $p->parse_uri( $uri ); ## Body of $uri inserted in ...
    $h->end_element( { Name => "foo", ... } );
    ...

    Combines several documents in to one "manifold" document. This can be done in two ways, both of which start by parsing a master document in to which (the guts of) secondary documents will be inserted.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    assemble SAX streams | XML filter | Perl module | assemble | SAX | streams

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM