This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Cant get Value
- To: xsl-list at lists dot mulberrytech dot com
- Subject: RE: [xsl] Cant get Value
- From: P Vikram <vikram_good_boy at yahoo dot com>
- Date: Wed, 5 Sep 2001 15:33:27 -0700 (PDT)
- Reply-To: xsl-list at lists dot mulberrytech dot com
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@bayes.co.uk> 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