[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Question on CDATA in XML
On Fri, 25 Jun 2010 16:31:51 +0200 "Fabien Tillier" <f.tillier@cerep.fr> wrote: > Ok, so I have changed my RTF to HTML conversion stuff so that it > strips all HTML tags (so I am loosing some formatting), and it works > better (I don't have thoses CDATA things anymore), except that I have > encoded characters (like &alpha;) You need to check your character level encoding throughout, end to end. Once it's in XML, & => & etc. If you want alpha, then use unicode character level encoding, e.g. & # x 0 3 b 1 ; (spaced in case it is messed up) that are showing up (which is > perfectly normal) but are not displayed by the browser as their > entity counterpart (here an alpha symbol). I assume I am missing > something like a transformation from &alpha; to α Is it > something that has to be implemented specifically (and how) in a > customization template or is there a magical option that can be > used ? Thanks a lot in advance Best regards, Fabien Once in XML that alpha as a character entity is just as valid as any other character. Prior to that, it's up to you. HTH -- regards -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]