XMLByte* out=Base64::encode(reinterpret_cast<const XMLByte*>(kstring.data()),kstring.size(),&len);
if (!out)
throw BindingException("Base64 encoding of XML failed.");
kstring.erase();
kstring.append(reinterpret_cast<char*>(out),len);
XMLByte* out=Base64::encode(reinterpret_cast<const XMLByte*>(kstring.data()),kstring.size(),&len);
if (!out)
throw BindingException("Base64 encoding of XML failed.");
kstring.erase();
kstring.append(reinterpret_cast<char*>(out),len);