|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Problem with netscape 6 and quotes in the output f
Does it work if you do:
<A HREF="javascript:edit('{@cn}');">Edit Item</A>
[this is an attribute vale template]
best,
-Rob
----- Original Message -----
From: "Carsten Bode" <cbode@xxxxxxxxxxxxxxx>
To: <XSL-List@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, February 19, 2002 11:44 AM
Subject: Problem with netscape 6 and quotes in the output file
> Dear Sirs,
> we currently use a xml/xslt in IE5/MSXML3, currently we get this running
on
> netscape.
> In principle it work nice, but at one place we generate a htlm-link like
> that:
> <a>
> <xsl:variable name="arg">javascript:edit("<xsl:value-of
> select="@cn" />")</xsl:variable>
> <xsl:attribute name="href" >
> <xsl:value-of select='$arg' />
> </xsl:attribute >Edit Item
> </a>
>
> On IE the result is a link like href=javascript:edit("something") .
> On Netscape it comes out as href=javascript:edit("something")
>
> I wouldn´t mind if the netscape would convert back the " if the link
is
> activated, but it doesnt.
> I also found no way to generate a direct " with netscape, probably because
> it generates pure xml, and so it doesnt allow a quote in a attribute
value.
> I also tried <xsl:output method="xml"/> and <xsl:output
method="html"/>
> without effect.
>
> Any ideas ?
>
> Carsten Bode
>
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
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








