Altova Mailing List Archives


RE: [xsl] Cant get Value

From: P Vikram <vikram_good_boy@--------->
To:
Date: 9/5/2001 2:41:00 PM
Hi

i did all these...but still iam not getting the value
in textbox.funny thing s iam getting the value in the
alert if i use selectsinglenode method.

any ideas??/

Thanks
--- Chris Bayes <chris@xxxxxxxxxxx> wrote:
> 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
> 


__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com

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

Disclaimer

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.