Subject: Creating Object Instances From: Duane Nickull <webmaster@xxxxxxxxxxxxxxxxx> Date: Wed, 14 Apr 1999 18:53:49 -0700 |
Hello X-heads: I have a new problem and I wanted to have someone else try this on MSIE 5.0. When I view this script / xml file combo on my own machine - it performs like a Ferrari. Load it up to one of our servers - no go. Can someone try this on their machine and then maybe a non-MS equipped server to tell me what's going on: save as *.html file =====================cut=============================== <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <HTML> <HEAD> <SCRIPT LANGUAGE="JavaScript" FOR=window EVENT=onload> showMe(); </SCRIPT> <SCRIPT LANGUAGE="JavaScript"> var xmlDoc = new ActiveXObject("microsoft.xmldom"); xmlDoc.load("Duane_Nickull.xml"); function showMe() { objFirstChild = xmlDoc.documentElement.firstChild; alert("The first Child Node is: " + objFirstChild); } </SCRIPT> <TITLE>Duane Nickull's Object Example Page</TITLE> </HEAD> <BODY> </BODY> </HTML> =====================cut============================ save this one as Duane_Nickull.xml in the same directory ====================cut============================= <?xml version="1.0"?> <person> <name>Duane Nickull</name> <age>35</age> <job>XML IT Specialist</job> <company>Walkabout Internet Technologies</company> </person> ====================cut=============================== PS - sorry if I'm hogging all the mullberrytech bandwidth today ;-) Duane Nickull XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: COMMENTS FROM MICROSOFT SEMINA, Didier PH Martin | Thread | Oops!, Ben Trafford |
RE: Replacing server scripts (ASP) , Jonathan Borden | Date | Re: Building a new tree, James Clark |
Month |