[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Question about xsl, xml,javascript

Subject: Re: Question about xsl, xml,javascript
From: Phil Lanch <phil@xxxxxxxxxxxxxxx>
Date: Mon, 29 Nov 1999 11:05:53 +0000
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&#13;&#10;"  and thus the javascript code
> does
> not recognize the name of the checkbox
> 
> For example   --> <INPUT align=left name="A&#13;&#10;" 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).

&#13;&#10; 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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.