annotate _test/Resources/test.schema @ 28:6d33f75c6e1f

ORM in works
author Sergey
date Mon, 19 Oct 2009 04:13:54 +0400
parents 16795016e70b
children 16ada169ca75
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9
5899df8c289e DOM schema
Sergey
parents:
diff changeset
1 <?xml version="1.0" encoding="utf-8"?>
5899df8c289e DOM schema
Sergey
parents:
diff changeset
2 <schema>
12
955b2324c1bf Работа над навигаторами и схемой DOM модели
Sergey
parents: 10
diff changeset
3 <!-- Директивы -->
10
Sergey
parents: 9
diff changeset
4 <!-- Загрузка фрагмента схемы -->
9
5899df8c289e DOM schema
Sergey
parents:
diff changeset
5 <Include src="basic.types.schema"/>
10
Sergey
parents: 9
diff changeset
6
15
16795016e70b Dom schema in progress
Sergey
parents: 12
diff changeset
7 <!-- Определения типов -->
16795016e70b Dom schema in progress
Sergey
parents: 12
diff changeset
8 <SimpleType type="DateTime">
16795016e70b Dom schema in progress
Sergey
parents: 12
diff changeset
9 <Regexp>\d{4}-\d{2}-\d{2}((T|\s)\d{2}\:\d{2}:\d{2})?</Regexp>
16795016e70b Dom schema in progress
Sergey
parents: 12
diff changeset
10 </SimpleType>
16795016e70b Dom schema in progress
Sergey
parents: 12
diff changeset
11 <ComplexType type="Person">
16795016e70b Dom schema in progress
Sergey
parents: 12
diff changeset
12 <NodeSet>
16795016e70b Dom schema in progress
Sergey
parents: 12
diff changeset
13 <SimpleNode nodeName="FirstName"/>
16795016e70b Dom schema in progress
Sergey
parents: 12
diff changeset
14 <SimpleNode nodeName="LastName"/>
16795016e70b Dom schema in progress
Sergey
parents: 12
diff changeset
15 <ComplexNode maxOccur="unbounded" nodeName="Passport" type="Passport">
16795016e70b Dom schema in progress
Sergey
parents: 12
diff changeset
16 <Node nodeName="DateExpire" type="DateTime"/>
16795016e70b Dom schema in progress
Sergey
parents: 12
diff changeset
17 <SimpleNode nodeName="Code"/>
16795016e70b Dom schema in progress
Sergey
parents: 12
diff changeset
18 </ComplexNode>
16795016e70b Dom schema in progress
Sergey
parents: 12
diff changeset
19 </NodeSet>
16795016e70b Dom schema in progress
Sergey
parents: 12
diff changeset
20 </ComplexType>
16795016e70b Dom schema in progress
Sergey
parents: 12
diff changeset
21
12
955b2324c1bf Работа над навигаторами и схемой DOM модели
Sergey
parents: 10
diff changeset
22 <!-- Содержимое возможные варианты для документов-->
9
5899df8c289e DOM schema
Sergey
parents:
diff changeset
23 <ComplexNode nodeName="Form">
5899df8c289e DOM schema
Sergey
parents:
diff changeset
24 <NodeSet>
5899df8c289e DOM schema
Sergey
parents:
diff changeset
25 <SimpleNode nodeName="FirstName">
5899df8c289e DOM schema
Sergey
parents:
diff changeset
26 <Regexp>\w+</Regexp>
5899df8c289e DOM schema
Sergey
parents:
diff changeset
27 </SimpleNode>
5899df8c289e DOM schema
Sergey
parents:
diff changeset
28 <SimpleNode nodeName="LastName">
5899df8c289e DOM schema
Sergey
parents:
diff changeset
29 <Regexp>\w+</Regexp>
5899df8c289e DOM schema
Sergey
parents:
diff changeset
30 </SimpleNode>
10
Sergey
parents: 9
diff changeset
31 <Node nodeName="BirthDate" type="DateTime" />
Sergey
parents: 9
diff changeset
32 <Node nodeName="Email" type="Email" minOccur="0" maxOccur="unbounded" />
9
5899df8c289e DOM schema
Sergey
parents:
diff changeset
33 <ComplexNode nodeName="AviaTicket" minOccur="0">
10
Sergey
parents: 9
diff changeset
34 <Node nodeName="From" type="Airport" control="ListBox" datasource="Airports"/>
Sergey
parents: 9
diff changeset
35 <Node nodeName="To" type="Airport" >
Sergey
parents: 9
diff changeset
36 <Check op='!=' LVal='nodeValue' RVal="From.nodeValue"/>
Sergey
parents: 9
diff changeset
37 </Node>
9
5899df8c289e DOM schema
Sergey
parents:
diff changeset
38 </ComplexNode>
5899df8c289e DOM schema
Sergey
parents:
diff changeset
39 </NodeSet>
5899df8c289e DOM schema
Sergey
parents:
diff changeset
40 </ComplexNode>
5899df8c289e DOM schema
Sergey
parents:
diff changeset
41 </schema>