[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Cant get Value
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|