I am not sure that this is an GAE issue.
I saved our code on my computer and I can see that when running in the dev server that you get an http 200 on the get for the xml document. I do not *think* that XML docemnts have an innerHTML property, so I think that you just need to handel the XML document that you loaded differently. I took your code and played with it in IE. This code 'works', but the call to getElementsByTagName is returng a nodeList that would have to be converted back to HTML before you could display them. You would also have to add Firefox support back in. IE gives me better errors from JavaScript, so that is why this is ie code. I hope this helps some! <script type="text/javascript"> var xmlDoc; alert('start'); function loadXML() { //load xml file // code for IE if (window.ActiveXObject) { alert('Your browser IE'); xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); xmlDoc.async = false; xmlDoc.load("Included_CUT.xhtml"); getmessage(); } } function getmessage() { document.getElementById ("message").innerHTML=xmlDoc.getElementsByTagName("body"); } </script> Doug On Feb 25, 7:40 am, PYD <p...@pydelens.be> wrote: > Bonjour, > > I had my first tutorial/tests on Google All Engine, successfully > OK :=) > > Now, my first concern is to check that I can upload html / xhtml pages > with light Ajax invocation. My first test, o my local Google app > server was negative. Then I remebered I read somewhere that Google > Engine couldn't serve Ajax. But today googling on the Web seems to > lead to examples of Ajax Working. > > Is there some doc on the limitations, if any? > > Thanks on forward. > > PY Delens > ============================== > Please find below the code I mean to upload: > . Included_CUT.xhtml (a small table) > . index.html (the calling container) with > <body onload="loadXML()"> > ------------------------------------------------------------ > > <?xml version="1.0" encoding="UTF-8"?> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1- > strict.dtd"> > <html xmlns="http://www.w3.org/1999/xhtml"> > <head> > <title></title> > </head> > <body> > > <table class="forTable"> > <tr class="color_one"> > <td align="left">Row One - Cell One</td> > <td align="left">Row One - Cell Two</td> > <td align="left">Row One - Cell Three</td> > <td align="left">Row One - Cell Four</td> > </tr> > <tr class="color_two"> > <td align="left">Row Two - Cell One</td> > <td align="left">Row Two - Cell Two</td> > <td align="left">Row Two - Cell Three</td> > <td align="left">Row Two - Cell Four</td> > </tr> > <tr class="color_one"> > <td align="left">Row Three - Cell One</td> > <td align="left">Row Three - Cell Two</td> > <td align="left">Row Three - Cell Three</td> > <td align="left">Row Three - Cell Four</td> > </tr> > <tr class="color_two"> > <td align="left">Row Four - Cell One</td> > <td align="left">Row Four - Cell Two</td> > <td align="left">Row Four - Cell Three</td> > <td align="left">Row Four - Cell Four</td> > </tr> > </table> > > </body> > </html> > > ------------------------------------------------------------ > > <html> > <head> > <link type="text/css" rel="stylesheet" href="/stylesheets/ > main.css" /> > <script type="text/javascript"> > //<![CDATA[ > > // SCRIPT ICI > > // Included_CUT.xhtml > var xmlDoc; > alert('start'); > function loadXML() { > //load xml file > // code for IE > if (window.ActiveXObject) { > alert('Your browser IE'); > xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); > xmlDoc.async = false; > xmlDoc.load("Included_CUT.xhtml"); > getmessage(); > } > // code for Mozilla, Firefox, Opera, etc. > // if and document.implementation.createDocument > else if (document.implementation && > document.implementation.createDocument ) { > alert('Your browser FsFX'); > xmlDoc = document.implementation.createDocument > ("", "", null); > xmlDoc.load("Included_CUT.xhtml"); > xmlDoc.onload = getmessage; > } > else { > alert('Your browser cannot handle this script'); > } > alert('getmessage'); > } > /* */ > function getmessage() > { > // see how for IE > document.getElementById > ("message").innerHTML=xmlDoc.getElementsByTagName("body") > [0].innerHTML; > > } > > // ]]> > > </script> > > </head> > > <body onload="loadXML()"> > > <b>greeting.author.nickname</b> wrote: > <br> > An anonymous person wrote:<br> > <blockquote>greeting.content|escape</blockquote> > <form action="/sign" method="post"> > <div><textarea name="content" rows="3" cols="60">textarea > textarea textarea</textarea></div> > <div><input type="submit" value="Sign Guestbook"></div> > </form> > > <a href="url">url_linktext</a> > <br> > <p> > <b>To:</b> > <div id="to">qsd</div> > <br/> > <b>From:</b> > <div id="from"/> > <br/> > <b>Message:</b> > <div id="message"/> > </p> > > </body> > </html> > --------------------------------------------------------------- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---