here i'm trying to recover the extension value (the AnyType), which is not an element, so the "element.getchild()" and co do not work. Do you have an idea how to fix the problem ? Thanks.
<xsd:extension base="AnyType">
<xsd:attribute name="Critical" type="xsd:boolean" use="required"/>
</xsd:extension>