Sorry Mike .. I did'nt knew about the xsl:output
facility .. I now realize, there is no such node as
Doctype in the result tree ..
THANKS FOR YOUR THOUGHTS ;)
Regards,
Mukul
--- Michael Kay <mike(_at_)saxonica(_dot_)com> wrote:
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>
--~--
__________________________________
Discover Yahoo!
Use Yahoo! to plan a weekend, have fun online and more. Check it out!
http://discover.yahoo.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>
--~--