- From: Reinier Bos <rbos@baan.nl>
- Date: Wed, 15 Nov 2000 15:05:01 +0100
- To: "'www-xml-schema-comments@w3.org'" <www-xml-schema-comments@w3.org>
I'm wondering whether I'd be able to (validly) use the following schema: <?xml version="1.0" encoding="UTF-8"?> <xsd:schema targetNamespace="http://www.baan.com/xyz" xmlns:xyz="http://www.baan.com/xyz" xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"> <!-- Extend the default element with an 'x' attribute --> <xsd:complexType name="element"> <xsd:complexContent> <xsd:extension base="xsd:element"> <xsd:attribute name="x" type="xsd:boolean" use="default" value="false"/> </xsd:extension> </xsd:complexContent> </xsd:complexType> </xsd:schema> I was hoping that this would allow me to write something like this in another schema: . . . <xsd:sequence> <xyz:element name="..." x="true"/> <xsd:sequence> . . Regards, Reinier Bos.
Received on Wednesday, 15 November 2000 09:08:15 UTC