OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
XML and XSL and Javascript oh my!
This page's ID:
10885
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
And finally here's the dumb javascript that's supposed to mush my xml file and my xsl file together to make a nice HTML file like the one above, however it doesn't work, or tell me what the problem is.... <html> <head> <title>Class Browser</title> </head> <body> <script language="JavaScript"> var xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); xmlDoc.async = "false"; xmlDoc.load("StudentDatabase.xml"); document.write("<br>Error Code: "); document.write(xmlDoc.parseError.errorCode); document.write("<br>Error Reason: "); document.write(xmlDoc.parseError.reason); document.write("<br>Error Line: "); document.write(xmlDoc.parseError.line + "<br/>"); var xslDoc = new ActiveXObject("Microsoft.XMLDOM"); xslDoc.async = "false"; xslDoc.load("ClassBrowser.xsl"); document.write("<br>Error Code: "); document.write(xslDoc.parseError.errorCode); document.write("<br>Error Reason: "); document.write(xslDoc.parseError.reason); document.write("<br>Error Line: "); document.write(xslDoc.parseError.line); document.write(xml.transformNode(xslDoc)); </script> </body> </html> [This message has been edited by Maskkkk (edited 01-08-2003).]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »