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

Re: use cases for d-o-e

Subject: Re: use cases for d-o-e
From: Joerg Pietschmann <joerg.pietschmann@xxxxxx>
Date: Thu, 10 Jan 2002 16:37:59 +0100
Re:  use cases for d-o-e
roger.day@xxxxxxxxxxxxxxxxxx wrote
> Could you go into a little more detail, please? I haven't heard of this.

If you want to put a DOCTYPE declaration into your result
document, use
  <xsl:output doctype-system="tei-stuff.dtd"/>
which should produce a
  <!DOCTYPE stuff SYSTEM "tei-stuff.dtd"/>
(depending on your document element of course). You can
also produce an additional PUBLIC id if you want, look
it up in the docs.

If you want to have a DOCTYPE with an internal subset, like
  <!DOCTYPE stuff SYSTEM "tei-stuff.dtd" [
   <!ENTITY my-stuff "some odd text">
there are no mechanisms in XSLT to do it easily. My proposal
was to create an external, document specific DTD and refer to
it. That's probably not what you want, but IMHO DOCTYPEs with
an internal subset are relicts. It is likely that you want
to use the resulting DTD in multiple documents, so you can
prepare it as stand-alone file as well.


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

Current Thread


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.
First Name
Last Name
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.