Altova Mailing List Archives>Archive Index >xml-dev Archive Home >Recent entries >Thread Prev - defining an xs:token element that has an attribute? [Thread Next] Re: [xml-dev] defining an xs:token element that has an attribute?To: Dean Karres <karres@---.----.---> Date: 11/3/2005 9:27:00 AM -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Dean Karres writes:
> <xs:complexType name="InfoRefType">
> <xs:complexContent>
> <xs:extension base="xs:token">
> <xs:attribute name="href" type="xs:anyURI"/>
> </xs:extension>
> </xs:complexContent>
> </xs:complexType>
>
> [does not work]
<xs:complexType name="InfoRefType">
<xs:simpleContent>
<xs:extension base="xs:token">
<xs:attribute name="href" type="xs:anyURI"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
is what you want.
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@i...
URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged spam]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQFDadeCkjnJixAXWBoRAqLEAJ4k2EZ8mUL+WdkCSTHnCFXwmGwDrQCdEDry
AfbXFH+cAds+JyeMbUzP7zI=
=AVYx
-----END PGP SIGNATURE----- | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
