Use the doctype-system and doctype-public attributes of xsl:output,
don't try to generate the DOCTYPE declaration by hand.
Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx
> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of
> Sorin Marti
> Sent: 05 December 2002 08:28
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: How to give out XML-Tags?
>
>
> Hi all,
>
> I'd like to make a Transformation with XSL and want to get a
> docBook-Source out of it.
> For that reason I need to give out something like
>
> <!DOCTYPE Book PUBLIC "-//OASIS//DTD DocBook V4.1//EN"
> "/usr/share/sgml/docbook_4/docbook.dtd">
> <book id="How-to" lang="de">
>
> I tried to put that in <xsl:text>, but that doesen't work.
> Choosing "xml" as output-method is also no solution.
>
> How do I do that, any advice?
>
> Thanks for your help
>
> Sorin
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|