Mercurial > pub > Impl
comparison _test/Resources/form.xml @ 100:df6b4f054957
Schema in progress
Added simple mailer
author | wizard |
---|---|
date | Thu, 06 May 2010 00:54:17 +0400 |
parents | 6dd659f6f66c |
children | d1676be8afcc |
comparison
equal
deleted
inserted
replaced
99:6dd659f6f66c | 100:df6b4f054957 |
---|---|
1 <?xml version="1.0" encoding="UTF-8"?> | 1 <?xml version="1.0" encoding="UTF-8"?> |
2 <schema> | 2 <schema> |
3 <Include source="types.xml"/> | 3 <Include source="types.xml"/> |
4 <ComplexNode name="user"> | 4 <ComplexNode name="user"> |
5 <NodeSet> | 5 <NodeSet |
6 <Node name="name" type="scalar"/> | 6 messageMin="треюуется указать %Schema.display_blame%" |
7 <Node name="email" type="email"/> | 7 messageMax="%Schema.display% не может встречаться более %Schema.maxOccur% раз" |
8 <Node name="fullName" type="scalar"/> | 8 messageUnexpected="неизвестный параметр %Node.nodeName%" |
9 <Node name="birthDate" type="date"/> | 9 > |
10 <Node name="gender" type="scalar"/> | 10 <Node name="name" type="scalar" display="имя" display_blame="имя"/> |
11 <Node name="region" type="region"/> | 11 <Node name="email" type="email" display="электронная почта" display_blame="электронную почту" /> |
12 <Node name="fullName" type="scalar" display="полное имя" diplay_blame="полное имя"/> | |
13 <Node name="birthDate" type="date" display="дата рождения" display_blame="дату рождения"/> | |
14 <Node name="gender" type="scalar" display="пол" display_blame="пол"/> | |
15 <Node name="region" type="region" display="ваш регион" display_blame="ваш регион"/> | |
12 </NodeSet> | 16 </NodeSet> |
13 </ComplexNode> | 17 </ComplexNode> |
14 </schema> | 18 </schema> |
15 | 19 |