[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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. HTH J.Pietschmann XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|