
September 5th, 2003, 08:02 AM
|
|
Junior Member
|
|
Join Date: Sep 2003
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Error "Closed Object"
I'm pretty new to xml so I hope someone can help me with this one.
I Have a file called lidkaart.html wich is supposed to be generating a membership card with data from "../ledenlijst/leden.xml" when opened.
Locally it works (no server ) , but when accessed trough IIS on localhost OR accessed through my webserver (URL)
It gives an error "operation no allowed on closed object" pointing towards
xmldata.recordset.absoluteposition = 2;
I don't have a clue how to solve it while using the <xml> tag
No alterations have been made between the working and non working versions.
This is the code I've used to load the data and set the position.
I hope someone can give me a hand on this one.
...
<xml id="xmldata" src="../ledenlijst/leden.xml"></xml>
<script type="text/javascript">
xmldata.recordset.absoluteposition = 2;
</script>
<div class=Section1>
...
|