# Xml relative link not working on server

**URL:** <https://forum.kirupa.com/t/xml-relative-link-not-working-on-server/283656>\
**Category:** Uncategorized\
**Created:** [March 9, 2009, 7:30pm UTC](https://forum.kirupa.com/t/xml-relative-link-not-working-on-server/283656 "2009-03-09T19:30:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bobcahill](https://avatars.discourse-cdn.com/v4/letter/b/6f9a4e/32.png) [@bobcahill](https://forum.kirupa.com/u/bobcahill)\
**Post date:** [March 9, 2009, 7:30pm UTC](https://forum.kirupa.com/t/xml-relative-link-not-working-on-server/283656/1 "2009-03-09T19:30:41Z")

</div>

I have a web application that doesn’t pull in the XML which is brought in from SwfObject 1.5 that has the xml location sent in via flashvars. The xml location is a relative link. You can see it here,

\<script type=“text/javascript”\>  
var flashvars = {};  
flashvars.xmlStatic = “…/xml/static2.xml”;  
flashvars.xmlDynamic = “…/xml/dynamic2.xml”;  
var params = {};  
var attributes = {};  
swfobject.embedSWF("\_028\_optisolutions.swf", “flashDiv”, “870”, “778”, “9.0.0”, “expressInstall.swf”, flashvars, params, attributes);  
\</script\>

Everything works fine on my server, my local machine, but on my client’s server it is not working. Is there anyone that knows why their might be a problem loading dynamic content using relative urls? I’ve had this problem with loading flvs, jpgs and swfs before with as2 and as3. Cross-Domain Policy files maybe (but its not leaving the domain)?

Any help would be a life saver.
