alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Java example source code file (idJ029.xsd)

This example Java source code file (idJ029.xsd) is included in the alvinalexander.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Learn more about this Java project at its project page.

Java - Java tags/keywords

The idJ029.xsd Java example source code

<?xml version="1.0"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xpns="xpns.org" xmlns:xpns1="xpns1.org" xmlns:xpns2="xpns2.org" xmlns:imp="importNS">
	<xsd:import namespace="importNS" schemaLocation="idJimp.xsd"/>
	<xsd:import namespace="xpns.org" schemaLocation="idIxpns.xsd"/>
	<xsd:import namespace="xpns1.org" schemaLocation="idIxpns1.xsd"/>
	<xsd:element name="root">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element ref="tid" maxOccurs="unbounded"/>
				<xsd:element ref="imp:iid1" maxOccurs="unbounded"/>
				<xsd:element ref="imp:sid" maxOccurs="unbounded"/>
				<xsd:element ref="xpns:xiid" maxOccurs="unbounded"/>
			</xsd:sequence>
		</xsd:complexType>
		<xsd:unique id="foo123" name="uid">
			<xsd:selector xpath=".//tid"/>
			<xsd:field xpath=". //."/>
		</xsd:unique>
	</xsd:element>
	<xsd:element name="tid" type="xsd:string"/>
</xsd:schema>

Other Java examples (source code examples)

Here is a short list of links related to this Java idJ029.xsd source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.