Get minOccurs and maxOccurs attributes from an element

2007-10-13 Thread israel chay
hello i tried to parse XML schema to my own data structure. when i tried to find out if an element can appear more than one time (maxOccurs > 0), i found that this property is not exposed - XSElement expose only the "name" attribute of an element, and not the min/max Occurs attributes. i forced to

Get minOccurs and maxOccurs attributes from an element

2007-09-30 Thread israel chay
hello, i tried to parse XML schema to my own data structure. when i tried to find out if an element can appear more than one time (maxOccurs > 0), i found that this property is not exposed - XSElement expose only the "name" attribute of an element, and not the min/max Occurs attributes. i forced to