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

XSL stylesheet which generates DTD from XML stylesheet

Subject: XSL stylesheet which generates DTD from XML stylesheet
From: Miloslav Nic <nicmila@xxxxxxxx>
Date: Tue, 13 Jul 1999 12:58:29 +0200
generate dtd from stylesheet
At http://zvon.vscht.cz/ZvonHTML/Zvon/zvonHomepage_en.html
you will find a XSL script, which reads XML file and generates a DTD
from it. In the template, there are all tags I have ever used. If I need
a new DTD I just add the tags or conditions I do not have in the
template, then I will tell in separate XSL file which root tag and which
scheme should be used, the parent XSL looks for this tag and then
selects only those tags, which are needed. It generates complete DTD,
with the premium that tags are alphabetically sorted.

I have there a problem. I do not know how to generate DTD straight by
XSL, as DTD's are not well formed XML. I am using a solution, in which
&lt ; is printed and then perl script which replaces all occurrences of
&lt ; for <.
Can I somehow tell XSL engine to print <! ....  > sort of tags and use
at same time only portable features of XSL? Thanks.
-- 
***************************************************************
Dr. Miloslav Nic                        e-mail: nicmila@xxxxxxxx
Department of Organic Chemistry         TEL: +420 2 2435 5012  
ICT Prague (VSCHT Praha)                     +420 2 2435 4118
    				        FAX: +420 2 2435 4288  
****************************************************************


 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.