Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Invalid procedure call or argument when http:// is used

843834Sep 9 2005
Hello friends,

i have the following javascript

<script>
function ll()
{
strxml="Person.xml";
strxsl="Pers.xsl";
var source=new ActiveXObject("MICROSOFT.FreeThreadedXMLDOM");
source.load(strxml);
var style = new ActiveXObject("MICROSOFT.FreeThreadedXMLDOM");
style.load(strxsl);
document.getElementById("xsl").innerHTML=source.transformNode(style.documentElement);
//alert(source.transformNode(style.documentElement));
}
</script>

the script works fine when i am accesing the html directly from my computer. but when i access it through a local server i am getting the "Invalid procedure call or argument" error.

Can you help.thanks in advance.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 7 2005
Added on Sep 9 2005
0 comments
152 views