Re: error in specifications?

> 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