Linux SoftwareProgrammingLibrariesTemplate::Plugin::XML 2.16

Template::Plugin::XML 2.16


Template::Plugin::XML is a XML plugin for the Template Toolkit. SYNOPSIS [% USE XML; dom = XML.dom('foo.xml');
Developer:   Andy Wardley
      more software by author →
Price:  0.00
License:   Perl Artistic License
File size:   25K
Language:   
OS:   
Rating:   0 /5 (0 votes)
Your vote:  
enlarge screenshot


Template::Plugin::XML is a XML plugin for the Template Toolkit.

SYNOPSIS

[% USE XML;
dom = XML.dom('foo.xml');
xpath = XML.xpath('bar.xml');
simple = XML.simple('baz.xml');
rss = XML.simple('news.rdf');
%]

[% USE XML(file='foo.xml');
dom = XML.dom
xpath = XML.xpath
# ...etc...
%]

[% USE XML(dir='/path/to/xml');
file = XML.file('foo.xml' );
dom = file.dom
xpath = file.xpath
# ...etc...
%]

The Template-XML distribution provides a number of Template Toolkit plugin modules for working with XML.

The Template::Plugin::XML module is a front-end to the various other XML plugin modules. Through this you can access XML files and directories of XML files via the Template::Plugin::XML::File and Template::Plugin::XML::Directory modules (which subclass from the Template::Plugin::File and Template::Plugin::Directory modules respectively). You can then create a Document Object Model (DOM) from an XML file (Template::Plugin::XML::DOM), examine it using XPath queries (Template::Plugin::XML::XPath), turn it into a Perl data structure (Template::Plugin::XML::Simple) or parse it as an RSS (RDF Site Summary) file.

The basic XML plugins were distributed as part of the Template Toolkit until version 2.15 released in May 2006. At this time they were extracted into this separate Template-XML distribution and an alpha version of this Template::Plugin::XML front-end module was added.
The Template::Plugin::XML module is still in development and not guaranteed to work correctly yet. However, all the other XML plugins are more-or-less exactly as they were in TT version 2.14 and should work as normal.

For general information on the Template Toolkit see the documentation for the Template module or http://template-toolkit.org. For information on using plugins, see Template::Plugins and "USE" in Template::Manual::Directives. For further information on XML, see http://xml.com/.

Requirements:
  • Perl
    tags template plugin  the template  plugin xml  xml dom  template toolkit  xml file  xml xpath  xml simple  foo xml  use xml  you can  xml files  other xml  

    Download Template::Plugin::XML 2.16


     http://mirrors.evolva.ro/CPAN/authors/id/A/AB/ABW/Template-XML-2.16.tar.gz


    Authors software

    Template::Library::Splash 2.15 (by Andy Wardley)
    Template::Library::Splash is a template library for building stylish HTML user interfaces.

    NOTE: This documentation is incomplete,

    Template::Library::HTML 2.15 (by Andy Wardley)
    Template::Library::HTML is a template library for building basic HTML pages.

    NOTE: This documentation is incomplete and may be inc

    XML::Schema::Type::Simple 0.07 (by Andy Wardley)

    XML::Namespace 0.02 (by Andy Wardley)
    XML::Namespace is a Perl module with simple support for XML Namespaces.

    SYNOPSIS

    Example 1: using XML::Namespace objects

    Template::Plugin::XML::Style 2.16 (by Andy Wardley)
    Template::Plugin::XML::Style is a Perl module for simple XML stylesheet transformations.

    SYNOPSIS

    [% USE xmlstyle


    Similar software

    Template::Plugin::XML 2.16 (by Andy Wardley)
    Template::Plugin::XML is a XML plugin for the Template Toolkit.

    SYNOPSIS

    [% USE XML;
    dom = XML.dom('foo.xml');

    Template::Plugins 2.15 (by Andy Wardley)

    Template::Plugin::XML::Simple 2.16 (by Andy Wardley)

    Template::Manual::Plugins 2.15 (by Andy Wardley)
    Template::Manual::Plugins is Perl module for standard plugins.

    This section lists the standard plugins which can be used to extend

    Template::Plugin::XML::LibXML 1.07 (by Mark Fowler)
    Template::Plugin::XML::LibXML is a XML::LibXML Template Toolkit Plugin.

    SYNOPSIS

    [% USE docroot = XML.LibXML("helloworld.xml

    Template::Plugin::MP3::Tag 0.01 (by Tomoyuki SAWA)
    Template::Plugin::MP3::Tag is a Perl interface to the MP3::Tag Module.

    SYNOPSIS

    [% USE tag = MP3("path_to_mp3_file") %]

    Template::Plugin::MP3 1.02 (by Doug Gorley)

    Template::Plugin::KwikiFormat 1.04 (by Thomas Klausner)

    Template::Tutorial 2.15 (by Andy Wardley)
    Template::Tutorial are template toolkit tutorials.

    This section includes tutorials on using the Template Toolkit

    Template::Plugin::XML::Style 2.16 (by Andy Wardley)
    Template::Plugin::XML::Style is a Perl module for simple XML stylesheet transformations.

    SYNOPSIS

    [% USE xmlstyle


    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