I'm going with "container restriction".

Thank you for all of your helpful comments!!!

On Nov 18, 4:15 pm, mythmaster <[EMAIL PROTECTED]> wrote:
> I'm working on a gadget that loads a remote html page that needs to be
> evaluated with Xpath, so I have a java applet that converts the html
> string to a well-formed xml string so that it can be loaded into a DOM
> object.
>
> The following code works on my local system:
>
> <APPLET id="html2xml" code="appletHtml2Xml.class" width="0"
> height="0"></APPLET>
> var pagexml = document.html2xml.getXml(pagehtml);
>
> where "pagehtml" is the obj.text returned from gadgets.io.makeRequest
>
> After changing "code=" to the full path (e.g., 
> "http://www.somesite.com/java/appletHtml2Xml.class";) and running the same page
> in iGoogle sandbox, it returns with "Error: document.html2xml.getXml
> is not a function".
>
> Is this a container restriction, or am I just missing something here?
> Maybe the applet isn't initializing?  Not sure how to tell.
>
> I appreciate any advice.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iGoogle Developer Forum" 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-Gadgets-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to