Template Toolkit: Модули: Template::Plugin::XML::Simple
Plugin interface to XML::Simple
Оглавление
# load plugin and specify XML text or file to parse
[% USE xml = XML.Simple(xml_file_or_text) %]
# or load plugin as an object...
[% USE xml = XML.Simple %]
# ...then use XMLin or XMLout as usual
[% xml.XMLout(data_ref, args) %]
[% xml.XMLin(xml_file_or_text, args) %] |
This is a Template Toolkit plugin interfacing to the XML::Simple module.
|
This plugin requires that the XML::Parser and XML::Simple modules be
installed. These are available from CPAN:
http://www.cpan.org/modules/by-module/XML |
This plugin wrapper module was written by Andy Wardley
<abw@wardley.org>.
The XML::Simple module which implements all the core functionality
was written by Grant McLean <grantm@web.co.nz>.
|
2.65, distributed as part of the
Template Toolkit version 2.14, released on 04 October 2004.
|
Copyright (C) 1996-2004 Andy Wardley. All Rights Reserved.
Copyright (C) 1998-2002 Canon Research Centre Europe Ltd.
This module is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
|