Forum Stats

  • 3,836,763 Users
  • 2,262,184 Discussions
  • 7,900,101 Comments

Discussions

ArrayElements and EmbeddedAttributes

3004
3004 Member Posts: 204,171 Green Ribbon
In a type definiation file, how do you describe an array of embedded attibute objects?

Related, in an XML instance of the above, how do you describe an array of those embedded attributes?

For the later, I tried something like the following, but it fails:

<?xml version = '1.0' encoding = '8859_1' standalone = 'yes'?>
<MyDocumentType>
<Name>FooInstance</Name>
<FolderPath>/public/</FolderPath>
<MyArrayOfEmbeddedTypes>
<ArrayElement>
<MyEmbeddedType>
<FieldName>Title</FieldName>
</MyEmbeddedType>
</ArrayElement>
<ArrayElement>
<MyEmbeddedType>
<FieldName>Title</FieldName>
</MyEmbeddedType>
</ArrayElement>
</MyArrayOfEmbeddedTypes>
</MyDocumentType>


null

Comments

This discussion has been closed.