[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[x3d-public] containerField



hi all,
i have two questions. first, there are "fields" in x3d which do not occur in the specification. e.g. "containerField" in MetadataString:
 
<MetadataString name="myName" reference="name" containerField="xyz"/>
 
but according to the spec "containerField" is not a field:
 
MetadataString : X3DNode, X3DMetadataObject {
  SFNode   [in,out] metadata  NULL [X3DMetadataObject]
  SFString [in,out] name      ""
  SFString [in,out] reference ""
  MFString [in,out] value     []
}
 
why this?
 
and second, how can i access these fields with sai? i'd like to create a MetadataSet which looks like this:
 
 <MetadataSet>
  <MetadataString name="myName" reference="name" containerField="value"/>
  <MetadataString name="myType" reference="type" containerField="value"/>
 </MetadataSet>
 
i could not find any information about what containerField actually is, but apparently the containerField is required (i adopted it from the conformance examples). could you give me a hint? and how can i access containerField?
 
thank you!
mirko g