Skip to main content
Shop Support Downloads
IBM Home Products Consulting Industries News About IBM
IBM developerWorks : XML : Education - Tutorials
XML Schema Infoset Model, Part 2
ZIPPDF (letter)PDF (A4)e-mail
Main menuSection menuFeedbackPreviousNext
2. Overview of XML Schema documents

Exercise 1: Create a root schema document page 2 of 5

The first exercise consists of creating a root schema with target namespace "". With the help of Part 1, create a schema document using the XML Schema Infoset Model APIs that represents the following:

<?xml version="1.0"?> 
<schema targetNamespace="" 

Hint: You will need to use org.eclipse.xsd.XSDFactory.eINSTANCE to create the schema constructs.

New constructs created in this exercise:

  • <schema> - root schema with targetNamespace=""
Solution: Exercise 1 solution

Main menuSection menuFeedbackPreviousNext
About IBM | Privacy | Legal | Contact