Subject:How do I do this ? Author:Mike L Date:12 Apr 2008 02:46 PM
I have an XML file that has 7 entries in it. I built my XSL sheet in the layout that I wanted and created my html page but it only shows the first line of data on the web page.
is the issue in the html page or the xsl ?
<html>
<BODY BGCOLOR="#000055">
<table>
<tr>
<td>
<script type="text/javascript">
// Load XML
var xml = new ActiveXObject("Microsoft.XMLDOM")
xml.async = false
xml.load("thelast7days.xml")
// Load XSL
var xsl = new ActiveXObject("Microsoft.XMLDOM")
xsl.async = false
xsl.load("thelast7days.xsl")
// Transform
document.write(xml.transformNode(xsl))</script>
</td></table>
</html>