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

Problem with netscape 6 and quotes in the output file

Subject: Problem with netscape 6 and quotes in the output file
From: Carsten Bode <cbode@xxxxxxxxxxxxxxx>
Date: Tue, 19 Feb 2002 20:44:55 +0100
carsten bode
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(&quot;something&quot;)

I wouldn´t mind if the netscape would convert back the &quot; 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


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.