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

How to generate <!DOCTYPE with ENTITYs> from XSLT

From: Michael Giroux <mlgiroux@gmail.com>
Date: Tue, 21 Mar 2006 06:32:44 -0700
Message-ID: <5ea470920603210532r6667b7efxcea61654f2ad54db@mail.gmail.com>
To: www-xsl-fo@w3.org
I have an XML document that is rendered in HTML using xslt.  I'm attempting
to write an XSLT that produces an FO document that contains a DOCTYPE
declaration as:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fo:root [
<!ENTITY nbsp "&#160;">
]>
<fo:root xmlns:fox="http://xml.apache.org/fop/extensions" xmlns:fo="
http://www.w3.org/1999/XSL/Format">


So far, I have not been able to figure out how to generate the DOCTYPE and
ENTITY portion.  Can anyone point me to an XSLT example for how to do this?

Thanks
Michael Giroux
Received on Tuesday, 21 March 2006 21:47:16 GMT

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