Andy Wardley > Template-XML > Template::Plugin::XML::File

Download:
Template-XML-2.17.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  0
View/Report Bugs
Module Version: 2.15   Source  

NAME ^

Template::Plugin::XML::File - TT plugin for XML files

SYNOPSIS ^

    # different want to specify an XML file name
    [% USE xf = XML.File( filename ) %]
    [% USE xf = XML.File( file     = filename ) %]
    [% USE xf = XML.File( name     = filename ) %]
    [% USE xf = XML.File( xml_file = filename ) %]

    # different want to specify an XML file handle
    [% USE xf = XML.File( handle ) %]
    [% USE xf = XML.File( fh       = handle ) %]
    [% USE xf = XML.File( handle   = handle ) %]
    [% USE xf = XML.File( xml_fh   = handle ) %]

    [% xf.type   %]   # 'name' or 'handle'
    [% xf.name   %]   # filename (if defined)
    [% xf.handle %]   # file handle (if defined)

DESCRIPTION ^

TODO

METHODS ^

TODO

AUTHORS ^

Andy Wardley, Mark Fowler and others...

COPYRIGHT ^

TODO

SEE ALSO ^

Template, Template::Plugins, Template::Plugin::XML::DOM, Template::Plugin::XML::RSS, Template::Plugin::XML::Simple, Template::Plugin::XML::XPath

syntax highlighting: