[
Lists Home |
Date Index |
Thread Index
]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Dec 13, 2005, at 4:49 AM, Henry S. Thompson wrote:
> <xs:complexType name="stringType" abstract="true">
> <xs:simpleContent>
> <xs:extension base="xs:string"/>
> </xs:simpleContent>
> </xs:complexType>
Aha. Thanks. From there I then just handle a hexType by restriction
using the stringType base.
<!-- string type -->
<xs:complexType name="stringType" abstract="true">
<xs:simpleContent>
<xs:extension base="xs:string"/>
</xs:simpleContent>
</xs:complexType>
<!--hex type -->
<xs:complexType name="hexType" abstract="true">
<xs:simpleContent>
<xs:restriction base="stringType">
<xs:pattern value="[0-9A-F]"/>
</xs:restriction>
</xs:simpleContent>
</xs:complexType>
Just what I needed. Thanks again.
- - -David
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (Darwin)
iD8DBQFDnxgF3Ae5ldJRFgMRAtj3AJ9g2lM97enu+YweLTDomOX6lST8cACfQNkf
LWO/m0HEBBORC6ZO61AyElw=
=ktcK
- -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (Darwin)
iD8DBQFDnxgJ3Ae5ldJRFgMRArovAJ0bRobzZ+4vDjALeAZAHesdsQkSXgCgrX6D
YCgRIxtzpItZbz+rnCbNANI=
=xNLu
-----END PGP SIGNATURE-----
|