XML::Atom::Util - Utility functions


XML-Atom documentation  | view source Contained in the XML-Atom distribution.

Index


NAME

Top

XML::Atom::Util - Utility functions

SYNOPSIS

Top

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

USAGE

Top

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.

AUTHOR & COPYRIGHT

Top


XML-Atom documentation  | view source Contained in the XML-Atom distribution.