|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] XSL stylesheet which generates DTD from XML 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
< ; is printed and then perl script which replaces all occurrences of
< ; 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
|
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
|

Cart








