<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<STYLE>.hmmessage P {
        PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px
}
BODY.hmmessage {
        FONT-SIZE: 10pt; FONT-FAMILY: Tahoma
}
</STYLE>
<META content="MSHTML 6.00.6000.16674" name=GENERATOR></HEAD>
<BODY class=hmmessage>
<DIV dir=ltr align=left><SPAN class=141511815-02072008><FONT face=Arial
color=#0000ff>OK, cool.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=141511815-02072008><FONT face=Arial
color=#0000ff></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=141511815-02072008><FONT face=Arial
color=#0000ff>Look at iconID.sendAndLoad as the preferred way of loading up XML
from outside sources. </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=141511815-02072008><FONT face=Arial
color=#0000ff></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=141511815-02072008><FONT face=Arial
color=#0000ff>I just tried some tests and you can indeed do:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=141511815-02072008><FONT face=Arial
color=#0000ff></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=141511815-02072008><FONT face=Arial
color=#0000ff>myXML = new XML();</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=141511815-02072008><FONT face=Arial
color=#0000ff>myXML.load(FIleLocation + 'test.xml')</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=141511815-02072008><FONT face=Arial
color=#0000ff></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=141511815-02072008><FONT face=Arial
color=#0000ff>and it will load - the trouble is getting a Xerte event handler on
it.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=141511815-02072008><FONT face=Arial
color=#0000ff></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=141511815-02072008><FONT face=Arial
color=#0000ff>If you debug(myXML); sometime later, you will see the xml, but I
can't set up an event handler for the load event. There might also be an
iconID.loadXML(url) function. Whatever, when you're ready let me know if you
want anything added to the engine to do this gracefully (if iconID.sendAndLoad
doesn't work for you).</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=141511815-02072008><FONT face=Arial
color=#0000ff></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=141511815-02072008><FONT face=Arial
color=#0000ff>J</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma><B>From:</B> xerte-bounces@lists.nottingham.ac.uk
[mailto:xerte-bounces@lists.nottingham.ac.uk] <B>On Behalf Of </B>Dave
Burnett<BR><B>Sent:</B> 02 July 2008 16:15<BR><B>To:</B> Xerte
list<BR><B>Subject:</B> [Xerte] Loading XML via asp<BR></FONT><BR></DIV>
<DIV></DIV>Duh, my bad.<BR> <BR>Failing to include:<BR>XMLDoc.ignoreWhite =
true;<BR>causes the asp
failure.<BR> <BR>Dave <BR> <BR> <BR><BR>
<HR>
Do more with your photos with Windows Live Photo Gallery. <A
href="http://www.windowslive.com/share.html?ocid=TXT_TAGLM_Wave2_photos_022008"
target=_new>Get Windows Live-Free</A> </BODY></HTML>