I don't want the app to save directly to disk, just pop something to
allow the user to do it. "data:" does the trick on firefox, very cool.
Check this out:

<canvas debug="true" height="200" width="500">
    <dataset name="foo">Here is some xml.</dataset>
    <button onclick="LzBrowser.loadURL('data:text/xml,'+foo.serialize(),
'_blank')">Click me</button>
</canvas>

No such luck in IE (7.0):
    Protocol Type: data
    Description: UnKnown
    Windows does not recognize this Protocol.

After a brief search, here's a "pluggable protocol handler" for IE
"data:". Note that this project was created for basically the same
reason, a AJAX app with data already in the browser.
http://www.codeproject.com/KB/IP/DataProtocol.aspx?display=Print

Thanks a bunch.

Reply via email to