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

Stray quote from <xsl:value-of/> causing a string terminatio

Subject: Stray quote from <xsl:value-of/> causing a string termination error
From: "Banker, Arjun" <arjun_banker@xxxxxxxxx>
Date: Fri, 9 Jun 2000 09:04:28 -0500
arjun banker
In the web page I'm generating using XSL, I'm using javascript to write
values from an XML file.  For example, it would be something like this:

----------------------------------------------------------------------------
---------------
<SCRIPT>
document.write(' 123456789 ' +    '   <xsl:value-of select="row-header/"/>
' );
</SCRIPT>
----------------------------------------------------------------------------
---------------

but in some cases, the value returned by the <xsl:value-of> call would
contain a quote ( ' )  in it as well, thus losing the last half of the
string and causing an error.  I was hoping you would know some way to get
around this, perhaps by using some xsl filtering command of some sort to
replace the stray quote before it is written to the html page or some other
method you may have found.  If you have any more questions, please feel free
to contact me.  I deeply appreciate your support.

Thanks,
Arjun Banker
Engineering
(612) 630-5685 (direct)
arjun.banker@xxxxxxxxx
retail.com


 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.