Forum Stats

  • 3,781,146 Users
  • 2,254,484 Discussions
  • 7,879,595 Comments

Discussions

ArrayElements and EmbeddedAttributes

3004
3004 Member Posts: 204,171
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.