Solved

Java API to convert XML DTD to XML Schema

Posted on 2004-10-15
6
528 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
  • 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
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 
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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
The viewer will learn how to dynamically set the form action using jQuery.

774 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