This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] Setting doctype in output files
- From: Nicolas Pillot <nicolas dot pillot at polymtl dot ca>
- To: "docbook-apps at lists dot oasis-open dot org" <docbook-apps at lists dot oasis-open dot org>
- Date: Fri, 19 Mar 2004 22:20:32 -0500
- Subject: [docbook-apps] Setting doctype in output files
Hello,
I am using an XSL stylesheet to extract SVG and MathML resources from a docbook
file. Extraction works fine, except the fact that the file created through xalan
redirection have the same doctype as the one specified in the xsl:output of the
stylesheet. Because i generate .svg (1.0) and .mml (2.0), i would like these
file to have the appropriate doctypes.
I tried not to specify a doctype in the xsl:output, and "print" each doctype in
the relevant templates, but i get a message like "no doctype allowed in
content". And if i try to change the < > and the doctypes to < and > to
prevent their detection, these entities are not converted to < and > when output.
I haven't found related information in the xalan documentation, or javadoc. Is
it possible, or should i do it another way ?
Thanks in advance,
Nicolas
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.