Solved

Create XML-Schema with Xerxes!!!

Posted on 2002-05-06
1
294 Views
Last Modified: 2013-11-19
I want to create a XML-Schema in Java (Xerxes).
Does anybody know how i can do that?
Maybe you have a code-example.
thx
0
Comment
Question by:MartinSchuster
[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
1 Comment
 
LVL 2

Accepted Solution

by:
Andrey_Kulik earned 200 total points
ID: 6991888
Hi,

IMHO xerces hasnot any specially API for schema creating ...
XSD schema is XML file... you could create it in simple way.

Document doc;
Element el = doc.createElement("xsd:element");
el.setAttribute("name", "Model");

//... and so on

Best regards
Andrey
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

Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
In this post we will learn different types of Android Layout and some basics of an Android App.
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…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

756 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