Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Libraries

    XML::SAX::ByRecord 0.41

    Download button

    No screenshots available
    Downloads: 337  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    XML::SAX::ByRecord team | More programs
    Perl Artistic License / FREE
    August 17th, 2007, 21:05 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    XML::SAX::ByRecord description

    XML::SAX::ByRecord can record oriented processing of (data) documents.

    XML::SAX::ByRecord can record oriented processing of (data) documents.

    SYNOPSIS

    use XML::SAX::Machines qw( ByRecord ) ;

    my $m = ByRecord(
    "My::RecordFilter1",
    "My::RecordFilter2",
    ...
    {
    Handler => $h, ## optional
    }
    );

    $m->parse_uri( "foo.xml" );

    XML::SAX::ByRecord is a SAX machine that treats a document as a series of records. Everything before and after the records is emitted as-is while the records are excerpted in to little mini-documents and run one at a time through the filter pipeline contained in ByRecord.

    The output is a document that has the same exact things before, after, and between the records that the input document did, but which has run each record through a filter. So if a document has 10 records in it, the per-record filter pipeline will see 10 sets of ( start_document, body of record, end_document ) events. An example is below.
    This has several use cases:

    · Big, record oriented documents
    Big documents can be treated a record at a time with various DOM oriented processors like XML::Filter::XSLT.
    · Streaming XML
    Small sections of an XML stream can be run through a document processor without holding up the stream.
    · Record oriented style sheets / processors
    Sometimes it's just plain easier to write a style sheet or · SAX filter that applies to a single record at at time, rather than having to run through a series of records.

    Requirements:

    · Perl



    Product's homepage

      


    TAGS:

    XML record | SAX record | Perl module | XML | SAX | record

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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