Solved

Java API to convert XML DTD to XML Schema

Posted on 2004-10-15
6
552 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
Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

 
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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

688 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