- From: Asir S Vedamuthu <asirv@webmethods.com>
- Date: Wed, 28 Mar 2001 10:59:28 -0500
- To: "Forge" <forge@neonics.com>, <xmlschema-dev@w3.org>
> I just wish to declare a tag like <blah blah="blah">blah</blah>
>
> This is not possible with an anonymous complexType definition. How come?
Nope, it is possible to ..
> What I would like to do is:
>
> <element name="blah" type="xsd:string">
> <complexType>
> <xsd:attribute ...>
> </complexType>
> </element>
Here it is
<element name="blah">
<complexType>
<simpleContent>
<extension base="string">
<attribute name="blah" type="string"/>
</extension>
</simpleContent>
</complexType>
</element>
- Asir
Received on Wednesday, 28 March 2001 10:59:08 UTC