xsl-list
[Top] [All Lists]

Re: where does one stick the doctype?

2003-03-20 15:47:35

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(_at_)peoplesoft(_dot_)com



                                                                                
                                          
                      "W. Eliot Kimber"                                         
                                          
                      <eliot(_at_)isogen(_dot_)com>                To:       
xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com                         
                      Sent by:                          cc:                     
                                          
                      owner-xsl-list(_at_)lists(_dot_)mulbe        Subject:  
Re: [xsl] where does one stick the doctype?             
                      rrytech.com                                               
                                          
                                                                                
                                          
                                                                                
                                          
                      03/20/2003 12:46 PM                                       
                                          
                      Please respond to xsl-list                                
                                          
                                                                                
                                          
                                                                                
                                          





mark_fletcher(_at_)peoplesoft(_dot_)com 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(_at_)isogen(_dot_)com
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