Subject: RE: [xsl] getting multiple values From: P Vikram <vikram_good_boy@xxxxxxxxx> Date: Wed, 5 Sep 2001 17:33:32 -0700 (PDT) |
Hi HEy Guys Iam sorry......I really mean it...u guys have been very helpfull...without a doubt.. Iam getting alternate values using selectNodes...hence my question.. Thanks --- Chris Bayes <chris@xxxxxxxxxxx> wrote: > This you:question we:answer you:ignore session has > been going on for > over a week. Please read the responses to your > questions. > You are now added to my email:ignore list > > Ciao Chris > > XML/XSL Portal > http://www.bayes.co.uk/xml > > > > -----Original Message----- > > From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx > > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On > Behalf Of P Vikram > > Sent: 06 September 2001 00:58 > > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > > Subject: [xsl] getting multiple values > > > > > > > > > > > > > > Hi all > > > > > testXML.documentElement.selectSingleNode("//ID").text) > > > > returns me 1. > > > > How to get all the values. > > > > Thanks > > > > > > <XML id="testXML"> > > > > > > <DATA> > > <ID>1</ID> > > <ID>2</ID> > > <ID>3</ID> > > <ID>4</ID> > > <ID>5</ID> > > <ID>6</ID> > > <ID>7</ID> > > </DATA> > > > > </XML> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --- P Vikram <vikram_good_boy@xxxxxxxxx> wrote: > > > 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 > > > > > > > > > __________________________________________________ > > 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 > > > > > > > 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] getting multiple values, Chris Bayes | Thread | Re: [xsl] Key/Use, Kevin_Gutch |
RE: [xsl] getting multiple values, P Vikram | Date | [xsl] Generating a PDF from XML doc, Koti Reddy |
Month |