Solved

Java API to convert XML DTD to XML Schema

Posted on 2004-10-15
6
515 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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

707 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now