Section: User Contributed Perl Documentation (3)
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.
' " > < &
This module and its counterpart MKDoc::XML::Decode are used by MKDoc::XML::Dumperto XML-encode and XML-decode litterals.
my $xml_encoded = MKDoc::XML::Encode->process ($some_string);
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 Perlitself. Use it at your own risk.
- my $xml_encoded = MKDoc::XML::Encode->process ($some_string);
- SEE ALSO
This document was created byman2html,using the manual pages.