NAME
Alvis::NLPPlatform::XMLEntities - Perl extension for managing characters which can not be used in a XML document
SYNOPSIS
use Alvis::NLPPlatform::XMLEntities;
Alvis::NLPPlatform::XMLEntities::decode($line);
Alvis::NLPPlatform::XMLEntities::eecode($line);
DESCRIPTION
This module is used to encode or decode special XML characters (&
, '
, "
, >, <).
METHODS
encode($line)
This method encodes special XML characters as XML entities in the line $line
.
decode($line)
This method decodes XML entities corresponding to special XML characters in the line $line
. It returns the shift in the offset after substitution;
SEE ALSO
Alvis::NLPPlatform
Alvis web site: http://www.alvis.info
AUTHORS
Guillaume Vauvert <guillaume.vauvert@lipn.univ-paris13.fr>
Currently maintained by Julien Deriviere <julien.deriviere@lipn.univ-paris13.fr> and Thierry Hamon <thierry.hamon@lipn.univ-paris13.fr>
LICENSE
Copyright (C) 2004 by Guillaume Vauvert, Thierry Hamon and Julien Deriviere
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.