W3C home > Mailing lists > Public > www-forms@w3.org > July 2001

Re: <model>- declaration

From: Roman Huditsch <r.huditsch@hico.com>
Date: Thu, 26 Jul 2001 09:33:43 -0400 (EDT)
To: www-forms@w3.org
Message-ID: <8345DC4EFAD23A4A8959A2830EFBFD0607EBDE@hico-ads.hico.com>
Greetings!

Refering to Josef's last eMail, I would like to know how you would
define your own datatypes.
Would you create them in the xform:model tag? and which namespace do you
have to use in that case? 
As far as I've understood the idea it would look like this:

			<xform:model>
				<xsd:simpleType name="email">
					<xsd:restriction
base="xsd:string"/>
					......
				</xsd:simpleType>
			</xform:model>

	<xform:instance>	
		<email xsi:type="xform:email" xform:readonly="true"/> 
		...

	</xform:instance>


Is that right or did I  got something wrong?

Cheers,
Roman

> Roman Huditsch (RH ) 
> _____________________________________________________________________
> hico Informations- und Kommunikations-Management Gesellschaft m.b.H.
> TechLab, Thomas A. Edison Straße 2.
> A-7000 Eisenstadt / Austria
> phone: +43/2682/704-61-00; fax: +43/2682/704-71-61-10
> e-mail:support@hico.com;  r.huditsch@hico.com
> 
> 
Received on Thursday, 26 July 2001 09:58:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:21:49 GMT