T
timothy-tim
I am fairly new to XSD so I assume this is probably a FAQ.
I have a Complex Type say "Foo" which is present as child element of
many xs:element.
In just one of these elements Bar, I want Foo to have additional
attributes/Facets
for example in the schema below
<xs:complexType name="Bar">
<xs:sequence>
<xs:element name="Foo" type="Foo" maxOccurs="unbounded"
minOccurs="0">
</xs:element>
</xs:sequence>
</xs:complexType>
I want Foo to have an additional attirubtute called IsTrue="xs:Boolean"
How do I achive this? Do I have to declare a new type for this?
-Tim
I have a Complex Type say "Foo" which is present as child element of
many xs:element.
In just one of these elements Bar, I want Foo to have additional
attributes/Facets
for example in the schema below
<xs:complexType name="Bar">
<xs:sequence>
<xs:element name="Foo" type="Foo" maxOccurs="unbounded"
minOccurs="0">
</xs:element>
</xs:sequence>
</xs:complexType>
I want Foo to have an additional attirubtute called IsTrue="xs:Boolean"
How do I achive this? Do I have to declare a new type for this?
-Tim