Solved

Create XML-Schema with Xerxes!!!

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
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…

747 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now