MKDoc::XML::Encode - Encodes XML entities
Contents
Api
my$xml_encoded=MKDoc::XML::Encode->process($some_string);
Does what is said in the summary.
Name
MKDoc::XML::Encode - Encodes XML entities
See Also
MKDoc::XML::DecodeHO MKDoc::XML::Encode
perl v5.36.0 2022-10-13 MKDoc::XML::Encode(3pm)
Summary
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.
Synopsis
use MKDoc::XML::Encode;
# $xml is now "Chris' Baloon"
my $xml = MKDoc::XML::Encode->process ("Chris' Baloon");
