This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: need an "&" in my text!!!WORKED!
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] need an "&" in my text!!!WORKED!
- From: Vijay Rao <rao_vij at yahoo dot com>
- Date: Tue, 3 Jul 2001 14:59:54 -0700 (PDT)
- Reply-To: xsl-list at lists dot mulberrytech dot com
YES IT WORKED!!!
--- "Thomas B. Passin" <tpassin@mitretek.org> wrote:
> [Vijay Rao]
>
> > Ya that is true many people gave me answers but
> none
> > of them gave me a solution.My problem still
> persists.
> > I need an & to be displayed as in "Special Terms &
> > Liabilities" on a tab in HTML page.Now when i
> tried
> > putting & the parser for xml did not allow me so i
> put
> > & in my xml but at my xsl when i selected this
> > value i said disable-output escaping ='yes' but it
> > still seems to output & so the text i get is
> like
> > this "Special Terms & Liabilities"
> >
>
> That's exactly how it's supposed to work. In HTML,
> you must use & or
> some other escape for the character. It ***will***
> display as the "&" sign,
> which seems to be what you want. Example:
>
> <html>This is an & sign</html>
>
> Load that into a browser and it will display the "&"
> sign just fine. It
> will NOT display "&". Of course, if you look at
> the file with a text
> editor you will see "&", but it will display as
> you want.
>
> In a url within an HTML attribute, you also must use
> &, as people have
> been telling you. It will function correctly as the
> target of a hyperlink.
>
> Tom P
>
>
>
>
> XSL-List info and archive:
> http://www.mulberrytech.com/xsl/xsl-list
>
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list