XMLRPC v1.4.1 XMLRPC.Encode View Source

Utility functions helpful for encoding XML

Link to this section Summary

Functions

escape special characters in XML attributes

Wrap a value in an XML tag

Link to this section Functions

escape special characters in XML attributes.

Note: technically you only need to escape “&” and “<” in tags, however, its common to also escape “>”. For attributes you must additionally escape both single and double quotes, but its convenient to also escape and

Wrap a value in an XML tag.

Note: For xml-rpc we need only a very minimal XML generator.