- From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
- Date: 21 Apr 2003 10:07:35 +0100
- To: <mrana@atiam-tech.com>
- Cc: <xmlschema-dev@w3.org>
So the combination of the two, correct, responses you've received leads to the following solution: <xsd:complexType name="companyTypeInternal"> <xsd:simpleContent> <xsd:restriction base="xsd:string"> <xsd:minLength value="1"/> </xsd:restriction> </xsd:simpleContent> </xsd:complexType> <xsd:complexType name="companyType"> <xsd:simpleContent> <xsd:extention base="my:companyTypeInternal"> <xsd:attribute name="tbl" type="xsd:string" default="COMPANY"/> </xsd:extention> </xsd:simpleContent> </xsd:complexType> ht -- Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh Half-time member of W3C Team 2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440 Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk URL: http://www.ltg.ed.ac.uk/~ht/ [mail really from me _always_ has this .sig -- mail without it is forged spam]
Received on Monday, 21 April 2003 05:07:42 UTC