RE: [xsl] Creating <!DOCTYPE in the result tree

Subject: RE: [xsl] Creating <!DOCTYPE in the result tree
From: Mukul Gandhi <mukul_gandhi@xxxxxxxxx>
Date: Wed, 8 Jun 2005 03:09:53 -0700 (PDT)
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@xxxxxxxxxxxx> 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/
> 
> 



		
__________________________________ 
Discover Yahoo! 
Use Yahoo! to plan a weekend, have fun online and more. Check it out! 
http://discover.yahoo.com/

Current Thread