view _test/Resources/person.schema.xml @ 417:3ed0c58e9da3 ref20150831

working on di container, tests
author cin
date Mon, 02 Nov 2015 01:56:53 +0300
parents 608e74bc309f
children
line wrap: on
line source

<?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>