Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 23rd, 2004, 10:57 AM
Registered User
 
Join Date: Jan 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Tricky Javascript/XSL issue...Hmmmm

Hi Guys,

having a problem, would appreciate some help !

I am passing some params to a Javascript function, one of which is some free text for a title on part of the web page's header.

However, the page is actually rendered via XSL and when I want to pass in a '&' as part of the free text, it's not happy at all....

Here's the function (Free text being passed is Fish & Chips...)

javascript:BuyList
'50350119,50671442,54149957,55028517','showimage,F ish & Chips,header,footer||Test text at the top of page');


Is there any way around this? Or will I have to use 'and'

I have tried & with no success....

Cheers in advance !

Robster

 
Old January 23rd, 2004, 11:28 AM
Registered User
 
Join Date: Jan 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Problem solved with :

<![CDATA[&]]>

Cheers anyway !

R






Similar Threads
Thread Thread Starter Forum Replies Last Post
performance issue with the xsl given here anboss XSLT 11 July 16th, 2008 03:05 AM
XSL Issue mickhughes XSLT 4 October 18th, 2007 08:29 AM
Tricky DataGrid Events Issue DudeBori82 ASP.NET 1.0 and 1.1 Professional 3 October 21st, 2005 04:26 PM
xsl:sort and IE 5.0 Issue babloo81 XSLT 1 March 17th, 2004 06:12 AM
Tricky Javascript/XSL '&' problem...... robster Javascript How-To 1 January 23rd, 2004 02:11 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.