B
Benjamin Michotte
Hello,
I know this have no sense but it's a constraint from some obscure
people
working with me :/
I have a complex element which looks like
<element name="foo">
<complexType>
... some data
<attribute name="type" type="xsd:string" fixed="foo"
/>
</complexType>
</element>
and I also have an element derivating from foo
<element name="bar">
<complexType>
<complexContent>
<extension base="foo">
... some data
<attribute name="type"
type="xsd:string" fixed="bar" />
</extension>
</complexContent>
</complexType>
</element>
of course, this is not valid !
How can I redifine this attribute for my derivated element ?
thanks,
Benjamin
I know this have no sense but it's a constraint from some obscure
people
working with me :/
I have a complex element which looks like
<element name="foo">
<complexType>
... some data
<attribute name="type" type="xsd:string" fixed="foo"
/>
</complexType>
</element>
and I also have an element derivating from foo
<element name="bar">
<complexType>
<complexContent>
<extension base="foo">
... some data
<attribute name="type"
type="xsd:string" fixed="bar" />
</extension>
</complexContent>
</complexType>
</element>
of course, this is not valid !
How can I redifine this attribute for my derivated element ?
thanks,
Benjamin