[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: How to deal with special characters in XSL?

Subject: RE: How to deal with special characters in XSL?
From: "Julian Reschke" <julian.reschke@xxxxxx>
Date: Wed, 17 Oct 2001 09:17:01 +0200
deal with special html characters
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of RABi
> Sent: Wednesday, October 17, 2001 8:59 AM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  How to deal with special characters in XSL?
>
>
> Hi I am a newbie to the X-world. :)
>
> I was developing some XSL layouts under the Orion server (now
> being part of
> Oracle 9i). the server itself contains an XSL parser which will translate
> the XML and XSL files into HTML before returning to the client.
>
> I am now having 2 troubles when trying to run my XSL correctly.
>
> 1) the parser treat all &nbsp; as undefined entities, if I use
> <![CDATA[&nbsp;]]>, it will be shown on the browser directly with the "&"
> converted to &amp; in html. how can I put &nbsp; in my html without being
> converted?

&#0160;

> 2) another problem happens to the "%" character. for e.g. I have a table
> which is 100% wide, I will have to write it as:
>
>     <table>
>         <xsl:attribute name="width"><![CDATA[100%]]></xsl:attribute>
>     </table>
>
>     that works well in the Orion parser, but when I open the same XSL file
> in IE directly, it will show "100%" inside the table on the screen! I have
> to use <table width="100%"> in IE to overcome this problem. is
> there anyway
> to make it work on all parsers?

<table width="100%">
</table>

MUST work in all XSL(T) engines.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.