[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

XSD Question

Subject: XSD Question
From: "Hunt, James A \(GE, Corporate, consultant\)" <james.a.hunt@xxxxxx>
Date: Wed, 18 Apr 2007 14:09:54 -0400
 XSD Question
Hi Everyone!

Can you tell me how to make this field required using this XSD?

<?xml version=3D"1.0" encoding=3D"UTF-8" standalone=3D"yes"?>
<xs:schema xmlns:xs=3D"http://www.w3.org/2001/XMLSchema"
elementFormDefault=3D"qualified">
	<xs:element name=3D"assignedto">
		<xs:simpleType>
			<xs:restriction base=3D"xs:string"/>
		</xs:simpleType>
	</xs:element>
	<xs:element name=3D"request">
		<xs:complexType>
			<xs:choice maxOccurs=3D"unbounded">
				<xs:element ref=3D"assignedto"/>

			</xs:choice>
		</xs:complexType>
	</xs:element>
	<xs:element name=3D"requests">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref=3D"request"
maxOccurs=3D"unbounded"/>
			</xs:sequence>=09
		</xs:complexType>
	</xs:element>
</xs:schema>

Thanks!
James

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.