XMLRPC.Encode
Utility functions helpful for encoding XML
Summary↑
escape_attr(string) | escape special characters in XML attributes |
tag(tag, value) | Wrap a value in an XML tag |
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.