I am not sure if the book mentioned this, but all of the source code is indexed at http://lxr.mozilla.org. A quick search yielded the following:
http://lxr.mozilla.org/seamonkey/source/extensions/xml-rpc/src/nsXmlRpcClient.js#157 Basically this code does what you want. However, first a warning: Most of the interfaces in this function are not frozen. This means that you code will break when we change these interfaces. By Mozilla 1.2, this functionality will be frozen. Doug Turner [EMAIL PROTECTED]
