Return-Path: Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 85476 invoked from network); 5 Jan 2001 11:22:26 -0000 Received: from mx.nmail.de (HELO mx.hw-edv.de) (62.154.252.197) by h31.sny.collab.net with SMTP; 5 Jan 2001 11:22:26 -0000 Received: from hwr33 ([192.168.52.133]) by mx.hw-edv.de (8.9.3/8.9.3) with SMTP id MAA29449 for ; Fri, 5 Jan 2001 12:22:14 +0100 From: "Thomas Viohl" To: Subject: escaping & in xsl --> JavaScript Date: Fri, 5 Jan 2001 12:21:04 +0100 Message-ID: <004601c07709$97b66d20$8534a8c0@hwr33> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Importance: Normal X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N How can I simply escap (or unescape) the & character for building javascript URLs? My code: .... javascript:parent.mainFrame.location= 'next_page.xml?param1=abcd & <--- result=& param2=xyz;' .... it should give the result: javascript:parent.mainFrame.location='next_page.xml?param1=abcd¶m2=xyz;' but gives this: javascript:parent.mainFrame.location='next_page.xml?param1=abcd&param2=x yz;' ??? Thomas