<schema
xmlns='http://www.w3.org/1999/XMLSchema'
targetNamespace='http://www.w3.org/2000/P3Pv1'
xmlns:t='http://www.w3.org/2000/P3Pv1'
><annotation
><documentation
>This schema was automatically generated
from a DTD by a perl script. The script is designed
to produce a schema for a language that it some
superset of the language generated by the DTD: all
content models are reduced to repeating choice
groups, and all attributes are just given type 'string'.
TODO: a closer mapping of ? | + ,
and attribute types: enumeration, etc.

About the indentation of the XML that is produced, I
use the 'line-oriented approach' approach
suggested in:

Comments on the WD - A proposed alternative Arjun Ray (Sun, Feb 20 2000) 
http://lists.w3.org/Archives/Public/www-xml-canonicalization-comments/2000Feb/0005.html


</documentation
></annotation
><element
name='POLICY'
><complexType
content='elementOnly'
><annotation
><appinfo
>( ENTITY , DISCLOSURE , REMEDIES ? , DISPUTES-GROUP ? , STATEMENT + , EXTENSION * )</appinfo
></annotation
><sequence
minOccurs='0'
maxOccurs='*'
><choice
><element
ref='t:ENTITY'
/><element
ref='t:DISCLOSURE'
/><element
ref='t:REMEDIES'
/><element
ref='t:DISPUTES-GROUP'
/><element
ref='t:STATEMENT'
/><element
ref='t:EXTENSION'
/></choice
></sequence
></complexType
></element
><element
name='ENTITY'
><complexType
content='elementOnly'
><annotation
><appinfo
>( DATA + , EXTENSION * ) +</appinfo
></annotation
><sequence
minOccurs='0'
maxOccurs='*'
><choice
><element
ref='t:DATA'
/><element
ref='t:EXTENSION'
/></choice
></sequence
></complexType
></element
><element
name='DISCLOSURE'
><complexType
content='elementOnly'
><annotation
><appinfo
>( EXTENSION * )</appinfo
></annotation
><sequence
minOccurs='0'
maxOccurs='*'
><choice
><element
ref='t:EXTENSION'
/></choice
></sequence
><attribute
name='discuri'
type='string'
/><attribute
name='access'
type='string'
/></complexType
></element
><element
name='DISPUTES-GROUP'
><complexType
content='elementOnly'
><annotation
><appinfo
>( DISPUTES + , EXTENSION * ) +</appinfo
></annotation
><sequence
minOccurs='0'
maxOccurs='*'
><choice
><element
ref='t:DISPUTES'
/><element
ref='t:EXTENSION'
/></choice
></sequence
></complexType
></element
><element
name='DISPUTES'
><complexType
content='elementOnly'
><annotation
><appinfo
>( EXTENSION * )</appinfo
></annotation
><sequence
minOccurs='0'
maxOccurs='*'
><choice
><element
ref='t:EXTENSION'
/></choice
></sequence
><attribute
name='resolution-type'
type='string'
/><attribute
name='service'
type='string'
/><attribute
name='description'
type='string'
/><attribute
name='verification'
type='string'
/><attribute
name='image'
type='string'
/><attribute
name='width'
type='string'
/><attribute
name='height'
type='string'
/><attribute
name='alt'
type='string'
/></complexType
></element
><element
name='REMEDIES'
><complexType
content='elementOnly'
><annotation
><appinfo
>( correct ? , money ? , law ? , EXTENSION * )</appinfo
></annotation
><sequence
minOccurs='0'
maxOccurs='*'
><choice
><element
ref='t:correct'
/><element
ref='t:money'
/><element
ref='t:law'
/><element
ref='t:EXTENSION'
/></choice
></sequence
></complexType
></element
><element
name='correct'
><complexType
content='empty'
></complexType
></element
><element
name='money'
><complexType
content='empty'
></complexType
></element
><element
name='law'
><complexType
content='empty'
></complexType
></element
><element
name='STATEMENT'
><complexType
content='elementOnly'
><annotation
><appinfo
>( CONSEQUENCE ? , PURPOSE , RECIPIENT , RETENTION , DATA-GROUP + , EXTENSION * )</appinfo
></annotation
><sequence
minOccurs='0'
maxOccurs='*'
><choice
><element
ref='t:CONSEQUENCE'
/><element
ref='t:PURPOSE'
/><element
ref='t:RECIPIENT'
/><element
ref='t:RETENTION'
/><element
ref='t:DATA-GROUP'
/><element
ref='t:EXTENSION'
/></choice
></sequence
></complexType
></element
><element
name='CONSEQUENCE'
><complexType
content='mixed'
><annotation
><appinfo
>( #PCDATA )</appinfo
></annotation
></complexType
></element
><element
name='PURPOSE'
><complexType
content='elementOnly'
><annotation
><appinfo
>( current ? , admin ? , develop ? , contact ? , customization ? , targeting ? , profiling ? , other-purpose ? , EXTENSION * )</appinfo
></annotation
><sequence
minOccurs='0'
maxOccurs='*'
><choice
><element
ref='t:current'
/><element
ref='t:admin'
/><element
ref='t:develop'
/><element
ref='t:contact'
/><element
ref='t:customization'
/><element
ref='t:targeting'
/><element
ref='t:profiling'
/><element
ref='t:other-purpose'
/><element
ref='t:EXTENSION'
/></choice
></sequence
></complexType
></element
><element
name='current'
><complexType
content='empty'
><attribute
name='change_preferences'
type='string'
/></complexType
></element
><element
name='admin'
><complexType
content='empty'
><attribute
name='change_preferences'
type='string'
/></complexType
></element
><element
name='develop'
><complexType
content='empty'
><attribute
name='change_preferences'
type='string'
/></complexType
></element
><element
name='contact'
><complexType
content='empty'
><attribute
name='change_preferences'
type='string'
/></complexType
></element
><element
name='customization'
><complexType
content='empty'
><attribute
name='change_preferences'
type='string'
/></complexType
></element
><element
name='targeting'
><complexType
content='empty'
><attribute
name='change_preferences'
type='string'
/></complexType
></element
><element
name='profiling'
><complexType
content='empty'
><attribute
name='change_preferences'
type='string'
/></complexType
></element
><element
name='other-purpose'
><complexType
content='mixed'
><annotation
><appinfo
>( #PCDATA )</appinfo
></annotation
><attribute
name='change_preferences'
type='string'
/></complexType
></element
><element
name='RECIPIENT'
><complexType
content='elementOnly'
><annotation
><appinfo
>( ours ? , same ? , other-recipient ? , delivery ? , public ? , unrelated ? , EXTENSION * )</appinfo
></annotation
><sequence
minOccurs='0'
maxOccurs='*'
><choice
><element
ref='t:ours'
/><element
ref='t:same'
/><element
ref='t:other-recipient'
/><element
ref='t:delivery'
/><element
ref='t:public'
/><element
ref='t:unrelated'
/><element
ref='t:EXTENSION'
/></choice
></sequence
></complexType
></element
><element
name='ours'
><complexType
content='empty'
></complexType
></element
><element
name='same'
><complexType
content='empty'
></complexType
></element
><element
name='other-recipient'
><complexType
content='empty'
></complexType
></element
><element
name='delivery'
><complexType
content='empty'
></complexType
></element
><element
name='public'
><complexType
content='empty'
></complexType
></element
><element
name='unrelated'
><complexType
content='empty'
></complexType
></element
><element
name='RETENTION'
><complexType
content='elementOnly'
><annotation
><appinfo
>( ( no-retention | stated-purpose | legal-requirement | indefinitely | business-practices ) , EXTENSION * )</appinfo
></annotation
><sequence
minOccurs='0'
maxOccurs='*'
><choice
><element
ref='t:no-retention'
/><element
ref='t:stated-purpose'
/><element
ref='t:legal-requirement'
/><element
ref='t:indefinitely'
/><element
ref='t:business-practices'
/><element
ref='t:EXTENSION'
/></choice
></sequence
></complexType
></element
><element
name='no-retention'
><complexType
content='empty'
></complexType
></element
><element
name='stated-purpose'
><complexType
content='empty'
></complexType
></element
><element
name='legal-requirement'
><complexType
content='empty'
></complexType
></element
><element
name='indefinitely'
><complexType
content='empty'
></complexType
></element
><element
name='business-practices'
><complexType
content='empty'
></complexType
></element
><element
name='DATA-GROUP'
><complexType
content='elementOnly'
><annotation
><appinfo
>( DATA + , EXTENSION * ) +</appinfo
></annotation
><sequence
minOccurs='0'
maxOccurs='*'
><choice
><element
ref='t:DATA'
/><element
ref='t:EXTENSION'
/></choice
></sequence
></complexType
></element
><element
name='DATA'
><complexType
content='mixed'
><annotation
><appinfo
>( #PCDATA | EXTENSION ) *</appinfo
></annotation
><sequence
minOccurs='0'
maxOccurs='*'
><choice
><element
ref='t:EXTENSION'
/></choice
></sequence
><attribute
name='name'
type='string'
/><attribute
name='dataschema'
type='string'
/><attribute
name='optional'
type='string'
/><attribute
name='type'
type='string'
/><attribute
name='typeschema'
type='string'
/><attribute
name='template'
type='string'
/><attribute
name='category'
type='string'
/><attribute
name='short'
type='string'
/><attribute
name='long'
type='string'
/><attribute
name='size'
type='string'
/></complexType
></element
><element
name='EXTENSION'
><complexType
content='mixed'
><annotation
><appinfo
>( #PCDATA )</appinfo
></annotation
><attribute
name='optional'
type='string'
/></complexType
></element
></schema
>
