Alvis::NLPPlatform::XMLEntities - Perl extension for managing characters which can not be used in a XML document
use Alvis::NLPPlatform::XMLEntities;
Alvis::NLPPlatform::XMLEntities::decode($line);
Alvis::NLPPlatform::XMLEntities::eecode($line);
This module is used to encode or decode special XML characters (&, ', ", >, <).
&
'
"
This method encodes special XML characters as XML entities in the line $line.
$line
This method decodes XML entities corresponding to special XML characters in the line $line . It returns the shift in the offset after substitution;
Alvis::NLPPlatform
Alvis web site: http://www.alvis.info
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>
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.
To install Alvis::NLPPlatform, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Alvis::NLPPlatform
CPAN shell
perl -MCPAN -e shell install Alvis::NLPPlatform
For more information on module installation, please visit the detailed CPAN module installation guide.