This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Problem with netscape 6 and quotes in the output file
- From: "Joerg Heinicke" <joerg dot heinicke at gmx dot de>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Tue, 19 Feb 2002 21:37:34 +0100
- Subject: Re: [xsl] Problem with netscape 6 and quotes in the output file
- References: <1921644655FE154BB2381C086C4FD8E3060213@kaula.innovaphone.int>
- Reply-to: xsl-list at lists dot mulberrytech dot com
> <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")
Can you try with single quote? And a shorter solution:
<a href="javascript:edit('something')">Edit Item</a>
or
<a href="javascript('{@cn}')">Edit Item</a>
Regards,
Joerg
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list