xsl-list
[Top] [All Lists]

RE: Adding <!DOCTYPE...>

2002-12-23 05:29:51
Hi,

   I am trying to transform a XML document using a XSL 
stylesheet. I was 
wondering how we could add the <!DOCTYPE..> element of the 
original document 
into the transformed document using XSL stylesheets. Pardon 
my ignorance if 
this is trivial. I want to copy the <!DOCTYPE ..>declaration 
as is from the 
original document into the final document.

Use xsl:output <http://www.w3.org/TR/xslt#element-output>; you have to 
hard-code the doctype values, sorry.

Cheers,

Jarno

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>