Hi,

Two more questions:

1. how the xml string can be converted to a dom object? does the DOMParser
object can be used here?
2. Any idea of how to write a file into the filesystem?

Thanks!

On Fri, Mar 13, 2009 at 6:18 PM, getulio.pereira
<[email protected]>wrote:

>
> Try to use this:
>
>              var xml = gadget.storage.openText("my_file.xml");
>
> where my_file.xml is in gadget package.
>
> This method will return the contents of the file as a string.
>
> For more information, see:
> http://code.google.com/intl/pt-BR/apis/desktop/docs/gadget_apiref.html#gadget.storage
>
> Meir Rotstein wrote:
> > Hi,
> >
> > Is there's any official way to read local files with javascript based
> > on the google desktop frwk?
> >
> > Thanks,
> > Meir.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Desktop Developer Group" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Desktop-Developer?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to