-
dynamic XML data island
Hi there,
I have a data island bound as the data source for input fields. The xml that
forms the data island is getting dynamically created.
//
function window.onload()
{
xmldso.XMLDocument.load("/test/t/test.xml");
}
//
I am using SQL Server 2000.
My XML file is like this: /localhost/virtualdir/template/file.xml(see above)
When adressing this XML file, it automatically extracts data from my database.
While viewing my page from the webserver itself with IE, all works fine.
But when I try to view the page from the outside, it doesnt load data at
all.
While when I try to view the same page but with a link to another XML File(which
is static with exactly the same structure), it works.
//
function window.onload()
{
xmldso.XMLDocument.load("bedrijfoverzicht.xml");
}
//
How can I get this thingy working? How can I get my file-direct working?
It seems as if the test/t/test.xml is being seen as a local file or some
like that?!?
Thnkx
-
Re: dynamic XML data island
Well... if this is the link to your file:
/localhost/virtualdir/template/file.xml
then that appears to be on your machine, not "outside" on a server.. and
ofcourse the server can't access you document..
is this the answer?
"Vincent" <vincent@meos.nl> wrote:
>
>Hi there,
>
>I have a data island bound as the data source for input fields. The xml
that
>forms the data island is getting dynamically created.
>//
>function window.onload()
>{
> xmldso.XMLDocument.load("/test/t/test.xml");
>}
>//
>I am using SQL Server 2000.
>My XML file is like this: /localhost/virtualdir/template/file.xml(see above)
>When adressing this XML file, it automatically extracts data from my database.
>
>While viewing my page from the webserver itself with IE, all works fine.
>
>But when I try to view the page from the outside, it doesnt load data at
>all.
>
>While when I try to view the same page but with a link to another XML File(which
>is static with exactly the same structure), it works.
>//
>function window.onload()
>{
> xmldso.XMLDocument.load("bedrijfoverzicht.xml");
>}
>//
>
>How can I get this thingy working? How can I get my file-direct working?
>It seems as if the test/t/test.xml is being seen as a local file or some
>like that?!?
>
>Thnkx
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks