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
|