You have 3 options:

1)"escape" all the < and & characters by replacing them with &lt; and
   &amp; respectively (note, the semi-colons are part of the replacements).

2)enclose the fields you pull from the database in so-called CDATA tags,
   which are <!CDATA[ at the beginning and ]]> at the end.  This will work
   except for the unusual case where your data contains ]]> anywhere.
(This is the option I use)

3)disable-output-escaping (very rarely necessary, and usually a sign of
   insufficient understanding of the original problem).

Regards,

Martin Gainty

______________________________________________

Disclaimer and confidentiality note

Everything in this e-mail and any attachments relating to the official business of Laconia Data Systems (LDS) is proprietary to the company. It is confidential, legally privileged and protected by law. LDS does not own and endorse any other content. Views and opinions are those of the sender unless clearly stated as being that of LDS.

The person addressed in the e-mail is the sole authorised recipient. Please notify the sender immediately if it has unintentionally reached you and do not read, disclose or use the content in any way.

LDS can not assure that the integrity of this communication has been maintained nor that it is free of errors, virus, interception or interference.

             _____________GMT-5___________________

 

>From: "Sachdeva, Rajeev" <[EMAIL PROTECTED]>
>To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
>Subject: special character
>Date: Tue, 3 Dec 2002 11:26:25 -0000
>MIME-Version: 1.0
>Received: from apache.org ([63.251.56.142]) by mc9-f28.bay6.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Tue, 3 Dec 2002 03:26:45 -0800
>Received: (qmail 31790 invoked by uid 500); 3 Dec 2002 11:26:26 -0000
>Received: (qmail 31782 invoked from network); 3 Dec 2002 11:26:25 -0000
>Received: from mail4.messagelabs.com (212.125.75.12) by daedalus.apache.org with SMTP; 3 Dec 2002 11:26:25 -0000
>Received: (qmail 1674 invoked from network); 3 Dec 2002 11:26:38 -0000
>Received: from porgy.logica.co.uk (158.234.250.67) by server-5.tower-4.messagelabs.com with SMTP; 3 Dec 2002 11:26:38 -0000
>Received: from mauchly.logica.co.uk (mauchly.logica.co.uk [158.234.72.16])by porgy.logica.co.uk (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id LAA12092for <[EMAIL PROTECTED]>; Tue, 3 Dec 2002 11:26:37 GMT
>Received: by mauchly.logica.co.uk with Internet Mail Service (5.5.2653.19)id ; Tue, 3 Dec 2002 11:26:36 -0000
>Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
>Precedence: bulk
>list-help:
>list-unsubscribe:
>list-post:
>Delivered-To: mailing list [EMAIL PROTECTED]
>X-VirusChecked: Checked
>X-Env-Sender: [EMAIL PROTECTED]
>X-Msg-Ref: server-5.tower-4.messagelabs.com!1038914798!20988
>Message-ID: <[EMAIL PROTECTED]>
>X-Mailer: Internet Mail Service (5.5.2653.19)
>X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
>Return-Path: [EMAIL PROTECTED]
>X-OriginalArrivalTime: 03 Dec 2002 11:26:45.0865 (UTC) FILETIME=[DCCC8590:01C29ABE]
>
>Hi,
>
>Does anyone know how to display special character in Input element text line
>?
>
>Code snippet in xsl :
>
>
>
> test
>
>
>
>
>
>Expected result : �
>
>Acutal Output in Input element : %c5 <-- Wrong
>
>How to display � instead of %c5 in HTML Input element ?
>
>Thanks for your help.
>
>Regards.
>
>Rajeev Sachdeva
>
>This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.


Add photos to your messages with MSN 8. Get 2 months FREE*.

Reply via email to