MKDoc::XML::Encode(3pm)

MKDoc::XML::Encode3pm

Encodes xml entities

Usage

  use MKDoc::XML::Encode;
  # $xml is now "Chris' Baloon"
  my $xml = MKDoc::XML::Encode->process ("Chris' Baloon");

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.

API

my $xml_encoded = MKDoc::XML::Encode->process ($some_string);

Does what is said in the summary.

Releases

11 releases since Debian 3.1 (Sarge); the text changed 4 times.

  1. 3.1
  2. 4.0–5.0
  3. 6.0–8
  4. 9–11
  5. 12–13

Author

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.

From libmkdoc-xml-perl 0.75-6 in Debian 13 (Trixie). Parsed by carta from the page's man source.