Hi,
I have a question about validating an XML document against an XSD schema. If I have an element with name "XYZ" and of complex type "ABC", can I validate against either the element name, type or both?
e.g.
XSD:
<xsd:element name="XYZ" type="ism:ABC"/>
<xsd:complexTyp e name="ABC">
<ABC content>
</xsd:complexType >
Can I then validate an XML having <XYZ> nodes, <ABC> nodes, or doesn't it matter which I use?
Thanks
I have a question about validating an XML document against an XSD schema. If I have an element with name "XYZ" and of complex type "ABC", can I validate against either the element name, type or both?
e.g.
XSD:
<xsd:element name="XYZ" type="ism:ABC"/>
<xsd:complexTyp e name="ABC">
<ABC content>
</xsd:complexType >
Can I then validate an XML having <XYZ> nodes, <ABC> nodes, or doesn't it matter which I use?
Thanks