?
Solved

Create XML-Schema with Xerxes!!!

Posted on 2002-05-06
1
Medium Priority
?
306 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 600 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
The viewer will learn how to dynamically set the form action using jQuery.
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)
Suggested Courses

719 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