Solved

Create XML-Schema with Xerxes!!!

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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 Since I wrote the original article about Handling Date and Time in PHP and MySQL (http://www.experts-exchange.com/articles/201/Handling-Date-and-Time-in-PHP-and-MySQL.html) several years ago, it seemed like now was a good time to updat…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
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 …

860 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