xsl-list
[Top] [All Lists]

RE: Creating <!DOCTYPE in the result tree

2005-06-08 02:39:35

I want to create <!DOCTYPE in the result tree .. Is
there a way in XSLT 1.0 ?

If not, is there a way to do it in XSLT 2.0 ..?


You can't create a Doctype node in the result tree because there is no such
node kind in the data model.

You can however create a (limited) <!DOCTYPE in the serialized output, by
use of serialization options in xsl:output.

Michael Kay
http://www.saxonica.com/



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--