[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: escaping '&'
> I need to include accents in a page written in Spanish. The > problem is that I need to escape the special characters like "&" that I need > (for example "í" Try to avoid thinking about how to generate the entity reference "í", instead think about how to generate the Unicode character "lower case I with acute accent", and leave the XSLT processor to work out how to represent this character in the HTML output. If you have this character in your stylesheet it will be copied into the output. There are several ways you can write this character in your stylesheet: - use an ISO-8859-1 editor and type it directly, with the stylesheet in iso-8859-1 encoding - use a UTF-8 editor and type it directly, with the stylesheet in UTF-8 encoding - use a numeric character reference, "í" - use an entity reference, "í", and declare this entity in your DTD Mike Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|