|
[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
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
|
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








