Re: anonymous element

>  
>
> <xsd:schema targetNamespace="http://www.bla" 
> xmlns:xsd=http://www.w3.org/2001/XMLSchema>
>
>     <!-- anonymous element  -->
>
>     <xsd:complexType name="Anonymous.Type">
>
>         <xsd:attribute name="id" type="xsd:string"/>
>
>         <xsd:attribute name="name" type="xsd:string"/>
>
>     </xsd:complexType>
>
>  
>
>      <xsd:element name="*" type=" Anonymous.Type"/>
>
> </xsd:schema>
>
Sounds like you need to make use of xs:any possibly extend it, and add 
your attributes so that the xs:any must have those additional attributes.

Dave

Received on Saturday, 2 December 2006 03:06:24 UTC