[Home] [By Thread] [By Date] [Recent Entries]

Subject: RE: Cant get Value
From: "Chris Bayes" <chris@xxxxxxxxxxx>
Date: Wed, 5 Sep 2001 22:57:16 +0100
Still!
If you remove all the bugs you get 
<html>
<head>
<script language="javascript">
function test() {
	var xsl = new ActiveXObject("microsoft.xmldom");
	xsl.async = false;
	xsl.load("v.xsl");
	var optHTML = testXML.XMLDocument.transformNode(xsl);
	document.all("test").innerHTML = optHTML;
}
</script>	
</head>
<body onload="test()">
<XML id="testXML">
<TESTDATA>
<DETAILS>
<TABLE>
<TEST>iwantthisvalue</TEST>
</TABLE>
</DETAILS>
</TESTDATA>
</XML>
<div id="test">
</div>
</body>
</html>
Produces
<?xml version="1.0" encoding="UTF-16"?><INPUT maxLength="7" name="test"
size="14" value="iwantthisvalue" />"
As for the stylesheet you should remove all the "//" you have scattered
around

Ciao Chris

XML/XSL Portal
http://www.bayes.co.uk/xml


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread
  • Re: Key/Use, (continued)
    • David_Marston - Wed, 5 Sep 2001 14:41:44 -0400 (EDT)
      • P Vikram - Wed, 5 Sep 2001 15:05:00 -0400 (EDT)
        • P Vikram - Wed, 5 Sep 2001 16:16:57 -0400 (EDT)
        • Chris Bayes - Wed, 5 Sep 2001 18:08:37 -0400 (EDT) <=
        • P Vikram - Wed, 5 Sep 2001 18:41:20 -0400 (EDT)
        • Chris Bayes - Wed, 5 Sep 2001 19:01:26 -0400 (EDT)
        • P Vikram - Wed, 5 Sep 2001 20:05:21 -0400 (EDT)
        • P Vikram - Wed, 5 Sep 2001 20:05:43 -0400 (EDT)
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member