logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Authors

       Andy Wardley, Mark Fowler and others...

Description

       TODO

Methods

       TODO

Name

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

See Also

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

perl v5.34.0                                       2022-07-04                   Template::Plugin::XML::File(3pm)

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)

See Also