I've only recently started using JavaScript and found the following on the W3C site which I've edited to run with files on my local drive -
<html><body><script language="javascript">// Load XML var xml = new ActiveXObject("Microsoft.XMLDOM"
xml.async = falsexml.load("C:\\MyXMLDoc.xml"
// Load the XSLvar xsl = new ActiveXObject("Microsoft.XMLDOM"
xsl.async = falsexsl.load("C:\\MyXSLDoc.xsl"
// Transformdocument.write(xml.transformNode(xsl))</script></body></html>
Nothing happens!
What type of newbie blooper am I committing?
Please help, as I need this kind of dynamic, client-side selection for some reports I'm preparing and I'm convinced JavaScript is the way to go.
When opening the xml file with the location of the xsl file hard-coded inside it displays correctly.
Thanks in advance
<html><body><script language="javascript">// Load XML var xml = new ActiveXObject("Microsoft.XMLDOM"
Nothing happens!
What type of newbie blooper am I committing?
Please help, as I need this kind of dynamic, client-side selection for some reports I'm preparing and I'm convinced JavaScript is the way to go.
When opening the xml file with the location of the xsl file hard-coded inside it displays correctly.
Thanks in advance