PDA

View Full Version : Help!


html1977
10-24-2003, 11:41 AM
Hi,
I have a question regarding .xml files.....I have an Excel program which creates reports and saves the reports as .xml in a specified folder and using ASP and IIS I have created a website where I can see the files(reports) in that are there in that server and folder......When I view the report by going to that server and viewing it everything appears right, but when I view the same report using http://xxx.xx.com....some of the images are lost...please let me know how to set this problem right!
Thanks!

Vincent Puglia
10-27-2003, 04:28 PM
Hi,

Are the image paths relative or absolute? Sounds like the former, so I would try the latter.

..\images\somepic.gif versus http:\\www.blahblah.com\images\somepic.gif

Vinny

Willy Duitt
10-28-2003, 09:12 AM
In the <HEAD> of the document on your server.
Add <BASE HREF="THE_ROOT_URL_OF_THE_ORIGINAL/">

eg: If the original was found at: http://xxx.xx.com
<BASE HREF="http://xxx.xx.com">

This works for me when I am working on someone elses pages
and wish the internal links to work and the images to show.

....Willy