Thanks in advance for any idea
marco
<xs:element name="VFCBank">
<xs:complexType>
<xs:sequence>
<xs:element ref="HighPass" minOccurs="0"/>
<xs:element ref="BandPass" minOccurs="0"/>
<xs:element ref="Notch" minOccurs="0"/>
<xs:element ref="Arbitrary" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="bFilterShape">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="GAUSS"/>
<xs:enumeration value="KAISER"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
root = xmlread('xsdFileName.xsd');
document = root.getDocumentElement;
attributeList = document.getElementsByTagName
('xs:attribute');
for index1 = 0:attributeList.getLength-1
enumerationList = attributeList.item
(index1).getElementsByTagName('xs:enumeration');
for index2 = 0:enumerationList.getLength-1
disp(enumerationList.item(index2).getAttribute
('value'))
end
end
In any case your suggestion solved 90% of my problem
marco
"Donn Shull" <donn.shul...@aetoolbox.com> wrote in
message <g7cl17$mf3$1...@fred.mathworks.com>...
Thank you
marco
"Marco " <amore...@tiscali.it> wrote in message
<g7e9de$l01$1...@fred.mathworks.com>...