<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
&gt;<span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">
this ought to work at authoring time though?<br>This is all at authoring time.<br><br>&gt;</span><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">No
silly mistakes in the path or anything?</span><br><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">Copied and pasted from </span><span style="font-size: 10pt; font-family: 'Verdana','sans-serif';">loadXML, checked in browser bar.</span><br><br><br><hr id="stopSpelling">Subject: RE: [Xerte] SendAndLoad confusion<br>Date: Mon, 1 Feb 2010 09:31:57 +0000<br>From: Julian.Tenney@nottingham.ac.uk<br>To: xerte@lists.nottingham.ac.uk<br><br>







<style>
.ExternalClass .ecxshape
{;}
</style>

<style>
.ExternalClass p.ecxMsoNormal, .ExternalClass li.ecxMsoNormal, .ExternalClass div.ecxMsoNormal
{margin-bottom:.0001pt;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass a:link, .ExternalClass span.ecxMsoHyperlink
{color:blue;text-decoration:underline;}
.ExternalClass a:visited, .ExternalClass span.ecxMsoHyperlinkFollowed
{color:purple;text-decoration:underline;}
.ExternalClass p
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass span.ecxEmailStyle18
{font-family:'Calibri','sans-serif';color:#1F497D;}
.ExternalClass .ecxMsoChpDefault
{font-size:10.0pt;}
@page Section1
{size:612.0pt 792.0pt;}
.ExternalClass div.ecxSection1
{page:Section1;}
</style>





<div class="ecxSection1">

<p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">So would I. It ought to struggle loading from a different domain
if there’s no crossdomain policy on the server you’re requesting the data from –
this ought to work at authoring tiime though?</span></p>

<p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">&nbsp;</span></p>

<p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">loadXML uses an XML object’s load method to load the data;
sendAndLoad uses sendAndLoad, but why that should be different beats me. No
silly mistakes in the path or anything?</span></p>

<p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">&nbsp;</span></p>

<div>

<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;">

<p class="ecxMsoNormal" style="margin-left: 36pt;"><b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';" lang="EN-US">From:</span></b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';" lang="EN-US">
xerte-bounces@lists.nottingham.ac.uk
[mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Dave Burnett<br>
<b>Sent:</b> Saturday, January 30, 2010 2:29 PM<br>
<b>To:</b> Xerte list<br>
<b>Subject:</b> [Xerte] SendAndLoad confusion</span></p>

</div>

</div>

<p class="ecxMsoNormal" style="margin-left: 36pt;">&nbsp;</p>

<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 10pt; font-family: 'Verdana','sans-serif';"><br>
<br>
xmlPage.loadXML('http://www.myserver.com/access/xml/overhead.xml'); //this
works<br>
<br>
xmlPage.sendAndLoad(myReq, FileLocation + 'overhead.xml'); //this works<br>
<br>
xmlPage.sendAndLoad(myReq, 'http://www.myserver.com/access/xml/overhead.xml');
//this doesn't <br>
//no event ever fires<br>
<br>
I thought if it was security issue, loadXML shouldn't work either. </span></p>

<div class="ecxMsoNormal" style="margin-left: 36pt; text-align: center;" align="center"><span style="font-size: 10pt; font-family: 'Verdana','sans-serif';">

<hr align="center" width="100%" size="2">

</span></div>

<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 10pt; font-family: 'Verdana','sans-serif';">Hotmail: Powerful Free email with security
by Microsoft. <a href="http://clk.atdmt.com/GBL/go/196390710/direct/01/">Get it now.</a></span></p>

</div>                                               <br /><hr />Hotmail: Powerful Free email with security by Microsoft. <a href='http://clk.atdmt.com/GBL/go/201469230/direct/01/' target='_new'>Get it now.</a></body>
</html>