Solved

Create XML-Schema with Xerxes!!!

Posted on 2002-05-06
1
302 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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
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 …
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

623 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