---
name: "Template::Plugin::XML::File"
section: "3pm"
platform: "linux"
package: "libtemplate-plugin-xml-perl"
version: "2.17-6"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Template::Plugin::XML::File"
---

# Template::Plugin::XML::File(3pm)

TT plugin for XML files

## 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
