MKDoc::XML::Encode(3pm) | User Contributed Perl Documentation | MKDoc::XML::Encode(3pm) |
MKDoc::XML::Encode - Encodes XML entities
use MKDoc::XML::Encode; # $xml is now "Chris' Baloon" my $xml = MKDoc::XML::Encode->process ("Chris' Baloon");
MKDoc::XML::Encode is a very simple module which encodes the following entities.
' " > < &
That's it.
This module and its counterpart MKDoc::XML::Decode are used by MKDoc::XML::Dumper to XML-encode and XML-decode litterals.
Does what is said in the summary.
Copyright 2003 - MKDoc Holdings Ltd.
Author: Jean-Michel Hiver
This module is free software and is distributed under the same license as Perl itself. Use it at your own risk.
MKDoc::XML::DecodeHO MKDoc::XML::Encode
2022-10-13 | perl v5.34.0 |