Whilst running off-line I'd like my page to read a local XML file and load it into an XML DOM. I can use the Gears desktop API to locate the local file, but this API (openFiles) returns the file contents as Gears BLOB objects (File.Blob). When I try and pass this Blob to the Xml DOM's loadXml method (IE) or FF's parser.parseFromString() method I get errors. Presumably because it's not a string.
Question: Is there any way to convert Blob to string (as I know it's really an XML string), or is there a different way to approach this? (currently I'm working around it by storing the Blob to a URL on the LocalServer and using that in the XmlDoc.Load() method but this seems like overkill). tia, Matt
