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

Re: Adding DOCTYPE to xml output?

Subject: Re: Adding DOCTYPE to xml output?
From: terje@xxxxxxxxxxxxxxx (Terje Norderhaug)
Date: Fri, 19 Oct 2001 13:03:39 -0800
doctype in xml
At 11:29 AM 10/19/01, Duffey, Kevin wrote:
>
>stupid question, but in my XSL in the match section of a template, I want
>the resulting XML to include a <!DOCTYPE...> tag in it so when the XML is
>used later, it is validated against the DTD (or schema) indicated. I don't
>have my XSL book here, so I can't look it up until later tonight. Hoping
>someone can respond beore then.

The XSL processor may add the DOCTYPE declaration automatically. At least the XSL engine in our Interaction web app server for Mac does it. The doctype name is determined from the document element. To provide the public and system ids, add doctype-public and doctype-system attributes to the 'output' top level element. 

______________________________________________________________________
Terje Norderhaug                          mailto:terje@xxxxxxxxxxxxxxx 
Founder & Chief Technologist                http://www.in-progress.com
Media Design in*Progress                         San Diego, California
______________________________________________________________________
Developer of Web and XML software for Macintosh.
Take Advantage of Server Side XML and XSL with Interaction! 



 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.