private void readAttributes() { foreach (XmlNode element in this.fileReader.getAttributes()) { var name = readNodeAttribute(element, "name"); //the namespace these elements are put into in csCode var ns = this.csNameSpace; var type = readNodeAttribute(element, "type"); var documentation = this.readInnerText(this.fileReader.getNodeDocumentation(element)); var a = new Attribut_(name, ns, type, documentation); a.debug(); //put data into array attribs[aIdx++] = a; } }
private void readAttributeGroups() { foreach (XmlNode group in this.fileReader.getAttributeGroups()) { var gName = readNodeAttribute(group, "name"); var documentation = this.readInnerText(this.fileReader.getNodeDocumentation(group)); foreach (XmlNode element in this.fileReader.getAttributes(group)) { var name = readNodeAttribute(element, "name"); var ns = this.csNameSpace; var type = readNodeAttribute(element, "type"); //var documentation = this.readInnerText(this.fileReader.getNodeDocumentation(element)); var a = new Attribut_(name, ns, type, documentation, gName); a.debug(); //put data into array attribs[aIdx++] = a; } } }