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="

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?

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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:58:30 UTC