File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes XML and Related Technologies and the fly likes Generate xsl from DTD Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Generate xsl from DTD" Watch "Generate xsl from DTD" New topic

Generate xsl from DTD

Anjana Ravindran
Ranch Hand

Joined: Aug 22, 2005
Posts: 76
Is there any quicker way to generate xsl from DTD?

Like if i give DTD, any way to automatically generate xsl?

otherwise, generate xml from dtd and then xsl from xml?

any pointers will be helpful
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
I don't understand what you're trying to do. An XSL file describes a transformation of an XML file into something else. A DTD doesn't describe an XML file, much less the transformation of one. Are you possibly confusing XSL with XML Schema, which is sometimes referred to as XSD?
I agree. Here's the link:
subject: Generate xsl from DTD
It's not a secret anymore!