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

Re: where does one stick the doctype?

Subject: Re: where does one stick the doctype?
From: mark_fletcher@xxxxxxxxxxxxxx
Date: Thu, 20 Mar 2003 14:47:35 -0800
one stick
Hi Eliot,

I understand that a DOCTYPE declaration can contain any valid element in
the DTD.  But I'm wondering if there's a way that XSL can insert this
element name when it creates the declaration via xsl:output or
xsl:document.


Mark Fletcher
PeopleSoft Language Engineering
925.694.3753
mark_fletcher@xxxxxxxxxxxxxx



                                                                                                                          
                      "W. Eliot Kimber"                                                                                   
                      <eliot@xxxxxxxxxx>                To:       xsl-list@xxxxxxxxxxxxxxxxxxxxxx                         
                      Sent by:                          cc:                                                               
                      owner-xsl-list@xxxxxxxxxxx        Subject:  Re:  where does one stick the doctype?             
                      rrytech.com                                                                                         
                                                                                                                          
                                                                                                                          
                      03/20/2003 12:46 PM                                                                                 
                      Please respond to xsl-list                                                                          
                                                                                                                          
                                                                                                                          





mark_fletcher@xxxxxxxxxxxxxx wrote:

> For example, if the top-level element in the DTD is 'book', the DOCTYPE
> declaration in the output will look like <!DOCTYPE book...

There is no concept of "top-level element" DTDs--any element in the
declaration set can be a root element. So just name the one you want.

The closest you can get to defining top-level elements is elements that
are not allowed in any other content models. But you could have any
number of those in a given declaration set.

Cheers,

Eliot
--
W. Eliot Kimber, eliot@xxxxxxxxxx
Consultant, ISOGEN International

1016 La Posada Dr., Suite 240
Austin, TX  78752 Phone: 512.656.4139


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list









 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.