- From: Goetz Bock <bock@blacknet.de>
- Date: Fri, 3 Nov 2000 20:34:47 +0100
- To: xmlschema-dev@w3.org
On Fri, Nov 03 '00 at 18:11, Steffen Stundzig wrote:
> <myelement myattr1="value1">2000/11/03</myelement>
>
> How must look a Schemadefinition for this?
What about:
<xsd:schema xmlns:xsd="http://www.w3.org/2000/10/XMLSchema">
<xsd:element name="myelement">
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base="xsd:date">
<xsd:attribute name="myattr1" type="xsd:string"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:element>
</xsd:schema>
Cu,
Goetz.
Received on Friday, 3 November 2000 14:35:35 UTC