Subject: RE: Creating <!DOCTYPE in the result tree
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Wed, 8 Jun 2005 10:39:35 +0100
|
> 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/
|