Solved

Java API to convert XML DTD to XML Schema

Posted on 2004-10-15
6
544 Views
Last Modified: 2013-11-19
Is there an API in JAVA that takes in XML DTD and semantically maps (converts) it to equivalent XML Schema?
I need my Application to convert a file from DTD to XML Schema and then work with the produced XML Schema.
Please this is urgent.

Thanks
0
Comment
Question by:dkamdar
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
6 Comments
 
LVL 14

Expert Comment

by:Tommy Braas
ID: 12322733
Hi dkamdar,

Look at the tools section here: http://www.w3.org/XML/Schema

Cheers!

\tt
0
 
LVL 14

Accepted Solution

by:
Tommy Braas earned 500 total points
ID: 12322739
0
 
LVL 14

Expert Comment

by:Tommy Braas
ID: 12324824
dkamdar,

Since you have received an answer to your question, you should close it and award the points! :-)
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 5

Expert Comment

by:Naeemg
ID: 12336519
0
 

Author Comment

by:dkamdar
ID: 12338412
hey orangehead911,

Your suggestion definitely helped but I am waiting for a better answer.
Beacuse the links you have provided are tools not APIs whom I can call directly from my applciaiton.

Be patient ;-)

0
 
LVL 14

Expert Comment

by:Tommy Braas
ID: 12466859
Quoting from the blurb for dtd2xs-LuMriX

"dtd2xs v1.0 released (Joerg Rieger, Tue, Jun 19 2001). v1.60 last updated 20 June 2003.

DTD to XML Schema translator

Translate a Document Type Definition (DTD) into a XML Schema (REC-xmlschema-1-20010502). The translator can map meaningful DTD entities onto XML Schema constructs (simpleType, attributeGroup, group), i.e. the XML document model is not anonymized. In addition, the translator can map DTD comments onto XML Schema documentation nodes in various ways.

>>>> Freely available as Java class <<< and as standalone Java application: dtd2xs"

\t
P.S. Thanks for the points....=-)  D.S.
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question