[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Creating <!DOCTYPE in the result tree

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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.