XML::Atom::Util.3pm

Langue: en

Version: 2009-04-24 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

XML::Atom::Util - Utility functions

SYNOPSIS

     use XML::Atom::Util qw( iso2dt );
     my $dt = iso2dt($entry->issued);
 
 

USAGE

iso2dt($iso)

Transforms the ISO-8601 date $iso into a DateTime object and returns the DateTime object.

encode_xml($str)

Encodes characters with special meaning in XML into entities and returns the encoded string. Please see the XML::Atom manpage for author, copyright, and license information.