On Wed, Jan 12, 2011 at 02:30:22PM +0000, Martin Nilsson (Opera Mini - AFK!) @ Pike (-) developers forum wrote:
string encode_xml(mixed data) { string ret = "<pikedata>"; foreach( encode_value(data);; int c ) ret += sprintf("<%d/>", c); return ret + "</pikedata>"; }
but encode_value is pike specific so not useful for sharing data with non-pike sysyems.
greetings, martin.