W3C home > Mailing lists > Public > www-xsl-fo@w3.org > March 2006

Re: How to generate <!DOCTYPE with ENTITYs> from XSLT

From: David Carlisle <davidc@nag.co.uk>
Date: Tue, 21 Mar 2006 22:28:11 GMT
Message-Id: <200603212228.k2LMSBgj015290@e3000.nag.co.uk>
To: mlgiroux@gmail.com
CC: www-xsl-fo@w3.org


xsl has no standard way to generate an internal subset of a DTD but
there is no reason why you would need this in an FO file. XSLT also has
no standard way of generating an nbsp entity reference either (except
disable-output-escaping, which is deprecated and non-portable).You fon't
need an entity reference as you can just let the XSLT engine output the
non breaking space character as the character itself or as a numeric
character reference.

Just use & # 1 6 0 ; in the stylesheet and a non breaking space will be
inserted into the generated FO file.

David
Received on Tuesday, 21 March 2006 22:28:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:13 GMT