Subject: Re: % in xslt printing as ?
From: Santosh N <ss1722@xxxxxxxxx>
Date: Thu, 22 Sep 2005 09:03:47 -0700 (PDT)
|
I am passing this string "TSY 4% 2009 4.000% 07-MAR-09" as a
parameter from java. When i print this in xslt using "<xsl:value-of"
the % is converted to ?.
Hope this helps.
Thanks
Santosh
--- David Carlisle <davidc@xxxxxxxxx> wrote:
>
> > I am passing a string to XSLT as a parameter which has "%" when
> but
> > it's printing as "?" any idea?
>
> You have to give us _some_ clues.
>
> % is not a special character to XML or XSLT so anything that you
> can say
> about "%" you could say about "a". So you might forexample see a ?
> if
> your font hasn't got a % but that seems unlikely.
>
> The only place I can think of where % has a special meaning is in
> URI
> qouting, is your parameter coming from a URI value?
>
> David
>
>
________________________________________________________________________
> This e-mail has been scanned for all viruses by Star. The
> service is powered by MessageLabs. For more information on a
> proactive
> anti-virus service working around the clock, around the globe,
> visit:
> http://www.star.net.uk
>
________________________________________________________________________
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
|