|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Question about xsl, xml,javascript
DADBHAWALA@xxxxxxx wrote: > > I have been trying to use the following xml and xsl files in ie5 > and have not succeded in doing so. The xsl generates the html with the > names of the checkboxes with a "A " and thus the javascript code > does > not recognize the name of the checkbox > > For example --> <INPUT align=left name="A " type=checkbox> <snip/> > File::test.xsl <snip/> > <input type="checkbox" align="left" > > <xsl:attribute name="name"> > <xsl:value-of select="@ID"/> > </xsl:attribute> > </input> Try putting <xsl:attribute name="name"><xsl:value-of select="@ID"/></xsl:attribute> all together (i.e. no with whitespace characters between the xsl:attribute start & end tags). is a new line (in Windows): it appears that the new line between the xsl:value-of tag & the xsl:attribute end tag is being included in the attribute value (though, for reasons I don't understand, the one between the xsl:attribute start tag & the xsl:value-of tag isn't). -- cheers phil *witness relocation program alumnus* 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
|

Cart








