Hi Uriel, > Hello, my name is Uriel Nusenbaum I´m from Buenos Aires, Argentina. > I need to make an a schema that use my own data type ? it's posible ? Certainly. > for example : > <element name = "FirstName" type = "ownstring" /> > i like to define that ownstring data type is a set of characters but > only letters and numbers : ex.: hggdff655 Here is one example: <xs:simpleType name="myType"> <xs:restriction base="xs:string"> <xs:pattern value="[a-z0-9]"/> </xs:restriction> </xs:simpleType> <xs:element name="FirstName" type="myType"/> A good start for W3C XML Schema is the Primer [1] Cheers, /Eddie [1] http://www.w3.org/TR/xmlschema-0/ > I will aprecciate the answer > Thanks. >Received on Wednesday, 30 October 2002 17:28:02 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 22 July 2006 00:12:54 GMT