public override short readxml(GXXMLReader oReader, String sName) { short currError; String arrayType; short gxi; currError = 1; arrayType = ""; gxi = 0; while (gxi <= oReader.AttributeCount) { if (StringUtil.StrCmp(oReader.GetAttributeLocalName(gxi), "arrayType") == 0) { arrayType = oReader.GetAttributeByIndex(gxi); } gxi = (short)(gxi + 1); } if (StringUtil.StrCmp(arrayType, "") != 0) { currError = (short)(readEncodedArray(arrayType, oReader)); } else { currError = (short)(readxmlcollection(oReader, sName, "")); } return(currError); }