1
0
mirror of synced 2024-11-23 22:13:49 +00:00

Generate attribute properties for complex types

This commit is contained in:
Mark van Renswoude 2009-04-14 13:20:41 +00:00
parent f705ac121e
commit de277ebcfc

View File

@ -603,6 +603,7 @@ var
complexType: IXMLComplexTypeDef; complexType: IXMLComplexTypeDef;
interfaceItem: TXMLDataBindingInterface; interfaceItem: TXMLDataBindingInterface;
elementIndex: Integer; elementIndex: Integer;
attributeIndex: Integer;
begin begin
schemaDef := ASchema.SchemaDef; schemaDef := ASchema.SchemaDef;
@ -620,6 +621,9 @@ begin
for elementIndex := 0 to Pred(complexType.ElementDefList.Count) do for elementIndex := 0 to Pred(complexType.ElementDefList.Count) do
ProcessChildElement(ASchema, complexType.ElementDefList[elementIndex], interfaceItem); ProcessChildElement(ASchema, complexType.ElementDefList[elementIndex], interfaceItem);
for attributeIndex := 0 to Pred(complexType.AttributeDefs.Count) do
ProcessAttribute(ASchema, complexType.AttributeDefs[attributeIndex], interfaceItem);
end; end;
end; end;