diff _test/Resources/person.schema.xml @ 367:608e74bc309f

form metadata, mostly done
author cin
date Tue, 03 Dec 2013 17:55:36 +0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/_test/Resources/person.schema.xml	Tue Dec 03 17:55:36 2013 +0400
@@ -0,0 +1,20 @@
+<?xml version='1.0' encoding='utf-8'?>
+<schema>
+	<ComplexNode name='personInfo'>
+		<NodeSet>
+			<SimpleNode name='firstName'/>
+			<SimpleNode name='lastName'/>
+			<Node name='age' type='number' minOccur='0'/>
+			<Node name='address' type='address' minOccur='0' maxOccur='unbounded'/>
+		</NodeSet>
+	</ComplexNode>
+	<ComplexType type='address'>
+		<NodeSet>
+			<SimpleNode name='street'/>
+			<Node name='line' type='number' minOccur='0'/>
+		</NodeSet>
+	</ComplexType>
+	<SimpleType type='number'>
+		<RegExp>\d+</RegExp>
+	</SimpleType>
+</schema>
\ No newline at end of file