xsl-list
[Top] [All Lists]

Re: % in xslt printing as ?

2005-09-22 09:03:47

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(_at_)nag(_dot_)co(_dot_)uk> 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

________________________________________________________________________


--~------------------------------------------------------------------
XSL-List info and archive: 
http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--




__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--