OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Any way to keep <!DOCTYPE...> definition int output of XSLT transformation?


I'm using XSL to transform a not-so-valid Docbook document into a valid 
Docbook document.

The not-so-valid document starts with a correct <!DOCTYPE ...> definition 
for Docbook.

When I run this document through XSLT (xsltproc program to be exact), the 
DOCTYPE definition 
gets erased.

Is there a way to keep the DOCTYPE definition in the output XML file? 

The only other alternative I can think of is to use <xsl:text> and print 
the DOCTYPE 
definition at the beginning of the document.

Taro


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]