Linux SoftwareProgrammingLibrariesXML::PatAct::ToObjects 0.08

XML::PatAct::ToObjects 0.08


XML::PatAct::ToObjects is an action module for creating Perl objects. SYNOPSIS use XML::PatAct::ToObjects; my $patterns =
Developer:   Ken MacLeod
      more software by author →
Price:  0.00
License:   Perl Artistic License
File size:   311K
Language:   
OS:   
Rating:   0 /5 (0 votes)
Your vote:  
enlarge screenshot


XML::PatAct::ToObjects is an action module for creating Perl objects.

SYNOPSIS

use XML::PatAct::ToObjects;

my $patterns = [ PATTERN => [ OPTIONS ],
PATTERN => "PERL-CODE",
... ];

my $matcher = XML::PatAct::ToObjects->new( Patterns => $patterns,
Matcher => $matcher,
CopyId => 1,
CopyAttributes => 1 );

XML::PatAct::ToObjects is a PerlSAX handler for applying pattern-action lists to XML parses or trees. XML::PatAct::ToObjects creates Perl objects of the types and contents of the action items you define.

New XML::PatAct::ToObject instances are creating by calling `new()'. Parameters can be passed as a list of key, value pairs or a hash. `new()' requires the Patterns and Matcher parameters, the rest are optional:

Patterns
The pattern-action list to apply.

Matcher
An instance of the pattern or query matching module.

CopyId
Causes the `ID' attribute, if any, in a source XML element to be copied to an `ID' attribute in newly created objects. Note that IDs may be lost of no pattern matches that element or an object is not created (-make) for that element.

CopyAttributes
Causes all attributes of the element to be copied to the newly created objects.

Each action can either be a list of options defined below or a string containing a fragment of Perl code. If the action is a string of Perl code then simple then some simple substitutions are made as described further below.

Requirements:
  • Perl
    tags xml patact  patact toobjects  perl code  newly created  that element  created objects  `id attribute  the action  perl objects  pattern action  the pattern  

    Download XML::PatAct::ToObjects 0.08


     http://ftp.hostingromania.ro/Linux/mirrors/ftp.cpan.org/authors/id/K/KC/KCLARK/SQL-Translator-0.07.tar.gz


    Authors software

    XML::Parser::PerlSAX 0.08 (by Ken MacLeod)
    XML::Parser::PerlSAX is a Perl SAX parser using XML::Parser.

    SYNOPSIS

    use XML::Parser::PerlSAX;

    $parser = XML::Parser::Per

    XML::XPath::Builder 1.13 (by Ken MacLeod)
    XML::XPath::Builder is a SAX handler for building an XPath tree.

    SYNOPSIS

    use AnySAXParser;
    use XML::XPath::Builder;

    $bu

    Data::DPath::Builder 0.00_01 (by Ken MacLeod)
    Data::DPath::Builder is a SAX handler for building an XPath tree.

    SYNOPSIS

    use AnySAXParser;
    use Data::DPath::Builder;

    $

    XML::Grove::Builder 0.46 Alpha (by Ken MacLeod)
    XML::Grove::Builder is a PerlSAX handler for building an XML::Grove.

    SYNOPSIS

    use PerlSAXParser;
    use XML::Grove::Builder;

    XML::PatAct::ToObjects 0.08 (by Ken MacLeod)
    XML::PatAct::ToObjects is an action module for creating Perl objects.

    SYNOPSIS

    use XML::PatAct::ToObjects;

    my $patterns =


    Similar software

    XML::PatAct::ToObjects 0.08 (by Ken MacLeod)
    XML::PatAct::ToObjects is an action module for creating Perl objects.

    SYNOPSIS

    use XML::PatAct::ToObjects;

    my $patterns =

    XML::Grove 0.46 Alpha (by Ken MacLeod)
    XML::Grove is a Perl module with Perl-style XML objects.

    SYNOPSIS

    use XML::Grove;

    # Basic parsing and grove building
    use

    XML::DOM2 0.03 (by Martin Owens)

    Mptn 0.3.0 (by George Bronnikov)
    Mptn project is a library providing a pattern matching mechanism similar to regular expressions, but with several differences making

    XML::Filter::Dispatcher 0.52 (by Barrie Slaymaker)
    XML::Filter::Dispatcher is a path based event dispatching with DOM support.

    SYNOPSIS

    use XML::Filter::Dispatcher qw( :all )

    Email::FolderType::MH 0.812 (by Simon Wistow)
    Email::FolderType::MH is a Perl class to help Email::FolderType recognise MH mail directories.

    SUBROUTINES

    folder_type < path

    Duplicate Music Matcher 2.2 (by Todd)
    Duplicate Music Matcher is a script to quickly find duplicate MP3 files based on letter matching.

    Duplicate Music Matcher is helpf

    XML::DOM::Element 1.44 (by T.J. Mather)
    XML::DOM::Element is an XML element node in XML::DOM.

    XML::DOM::Element extends XML::DOM::Node.

    By far the vast majority of obj

    Worm Warner 2.3 (by Jeroen van Nieuwenhuizen)
    WormWarner is a tool designed to warn hosts that are probably infected by worms

    XML::DOM::Attr 1.44 (by XML::DOM::Attr Team)
    XML::DOM::Attr is an XML attribute in XML::DOM.

    XML::DOM::Attr extends XML::DOM::Node.

    The Attr nodes built by the XML::DOM::Pa


    Other software in this category

    zlib 1.2.3 (by Jean-loup Gailly)
    zlib is designed to be a free, general-purpose, legally unencumbered, lossless data-compression library for use on virtually any comp

    libjpeg v6b (by Independent JPEG Group)
    libjpeg is a library for handling the JPEG (JFIF) image format

    OpenSSL 0.9.7c (by The OpenSSL Project Team)
    The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implement

    libxml2 2.6.27 (by DV)
    Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform), libxml2 library i

    GNU C library 2.4 (by Andreas Jaeger)
    GNU C library (glibc) is one of the most important components of GNU Hurd and most modern Linux distributions.

    GNU C library is us

  •     search


    Featured Software

    jEdit 4.3 pre8
    jEdit is an Open Source text editor written in Java

    Opera 9.02
    Surf the Internet in a safer, faster, and easier way with Opera browser

    GNU Aspell 0.60.4
    GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell


    Subscribe in Rojo
    Google Reader
    Add to My Yahoo!

    Add to My AOL
    Subscribe with Bloglines
    Subscribe in NewsGator Online
    Add 'nixbit linux software' to Newsburst from CNET News.com
    del.icio.us nixbit linux software


    Top tags