xsl-list
[Top] [All Lists]

RE: How to give out XML-Tags?

2002-12-05 03:22:57
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(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com 

-----Original Message-----
From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com 
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com] On Behalf Of 
Sorin Marti
Sent: 05 December 2002 08:28
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] 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