Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
2Activity
0 of .
Results for:
No results containing your search query
P. 1
XML Schema - Structures

XML Schema - Structures

Ratings:

4.0

(2)
|Views: 105 |Likes:
Published by Sneetsher Crispy
Quick Reference Card of XML Schema Structures.
Quick Reference Card of XML Schema Structures.

More info:

Published by: Sneetsher Crispy on Jun 18, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

08/07/2009

pdf

text

original

 
 
XML Schema - StructuresQuick Reference
er 9/012001 D VInt Productions,http://www.xml.dvint.com
1 Namespaces
http://www.w3.org/2001/XMLSchemahttp://www.w3.org/2001/XMLSchema-instance
Schema declaration
schema id = IDattributeFormDefault = (qualified | unqualified) : unqualifiedblockDefault = (#all | List of (extension | restriction | substitution)) : ''elementFormDefault = (qualified | unqualified) : unqualifiedfinalDefault = (#all | List of (extension | restriction)) : ''targetNamespace = anyURIversion = tokenxml:lang = language >Content: ((include | import | redefine | annotation)*, (((simpleType | complexType |group | attributeGroup) | element | attribute | notation), annotation*)*) </schema>include id = IDschemaLocation = anyURI >Content: (annotation?) </include>redefine id = IDschemaLocation = anyURI>Content: (annotation | (simpleType | complexType | group | attributeGroup))*/redefine>import id = IDnamespace = anyURIschemaLocation = anyURI>Content: (annotation?) </import>
3 Simple Data Type Declaration
simpleType id = IDfinal = (#all | (list | union | restriction))name = NCName>Content: ( annotation ?, ( restriction | list | union )) </simpleType>restriction id = IDbase = QName>Content: ( annotation ?, ( simpleType ?, ( minExclusive | minInclusive |maxExclusive | maxInclusive | totalDigits | fractionDigits | length | minLength |maxLength | enumeration | whiteSpace | pattern )*)) </restriction><list id = IDitemType = QName>Content: ( annotation ?, ( simpleType ?)) </list><union id = IDmemberTypes = List of QName>Content: ( annotation ?, ( simpleType *)) </union>
Constraining Facets4 Complex Data Type Declaration
<complexType id = IDabstract = boolean : falseblock = (#all | List of (extension | restriction))final = (#all | List of (extension | restriction))mixed = boolean : falsename = NCName>Content: (annotation?, (simpleContent | complexContent | ((group | all | choice |sequence)?, ((attribute | attributeGroup)*, anyAttribute?)))) </complexType>
Complex Content
<complexContent id = IDmixed = boolean>Content: (annotation?, (restriction | extension)) </complexContent><restriction id = IDbase = QName>Content: (annotation?, (group | all | choice | sequence)?,((attribute | attributeGroup)*, anyAttribute?)) </restriction><extension id = IDbase = QName>Content: (annotation?, ((group | all | choice | sequence)?,((attribute | attributeGroup)*, anyAttribute?))) </extension>
Simple Content
<simpleContent id = ID>Content: (annotation?, (restriction | extension)) </simpleContent><restriction id = IDbase = QName>Content: (annotation?, (simpleType?, (minExclusive | minInclusive | maxExclusive| maxInclusive | totalDigits | fractionDigits | length | minLength | maxLength |enumeration | whiteSpace | pattern)*)?, ((attribute | attributeGroup)*,anyAttribute?)) </restriction><extension id = IDbase = QName>Content: (annotation?, ((attribute | attributeGroup)*, anyAttribute?)) </extension><attributeGroup id = IDref = QName>Content: (annotation?) </attributeGroup><anyAttribute id = IDnamespace = ((##any | ##other) | List of (anyURI |(##targetNamespace | ##local)) ) : ##anyprocessContents = (lax | skip | strict) : strict >Content: (annotation?)</anyAttribute>
5 Model Group Definition
<groupname = NCName>Content: (annotation?, (all | choice | sequence)) </group><all id = IDmaxOccurs = 1 : 1 minOccurs = (0 | 1) : 1>Content: (annotation?, element*) </all><length id = IDfixed = boolean : falsevalue = nonNegativeInteger >Content: (annotation?) </length><minLength id = IDfixed = boolean : falsevalue = nonNegativeInteger >Content: (annotation?) </minLength><maxLength id = IDfixed = boolean : falsevalue = nonNegativeInteger >Content: (annotation?) </maxLength><pattern id = IDvalue = anySimpleTypeContent: (annotation?) </pattern><enumeration id = IDvalue = anySimpleType >Content: (annotation?)</enumeration><whiteSpace id = IDfixed = boolean : falsevalue = (collapse | preserve | replace)>Content: (annotation?)</whiteSpace><maxInclusive id = IDfixed = boolean : falsevalue = anySimpleType>Content: (annotation?)</maxInclusive><maxExclusive id = IDfixed = boolean : falsevalue = anySimpleType>Content: (annotation?)</maxExclusive><minExclusive id = IDfixed = boolean : falsevalue = anySimpleType>Content: (annotation?)</minExclusive><minInclusive id = IDfixed = boolean : falsevalue = anySimpleType>Content: (annotation?)</minInclusive><totalDigits id = IDfixed = boolean : falsevalue = positiveInteger >Content: (annotation?)</totalDigits><fractionDigits id = IDfixed = boolean : falsevalue = nonNegativeInteger >Content: (annotation?)</fractionDigits>

Activity (2)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->