?
Solved

Java API to convert XML DTD to XML Schema

Posted on 2004-10-15
6
Medium Priority
?
557 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 1000 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
Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

 
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

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!

Question has a verified solution.

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

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…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
Suggested Courses
Course of the Month9 days, 22 hours left to enroll

762 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