HI.

When exporting class to XSD, cach� create a element type for array
collection. Here is part of the Sample.Company class :

Class Sample.Company Extends (%Persistent, %XML.Adaptor) [ClassType =
persistent]
{
  /// The Employee objects associated with this Company
  Relationship Employees As Employee [ Cardinality = many, Inverse
=Company];
}

Here is part of the XSD file generated :

<s:element name="Employees" type="ArrayOfEmployeeEmployee" minOccurs="0"/>


Is it possible to change the 'type' of the array ???
ArrayOf + ClassName + ClassName is not very usefull for me.
I use the schema for my documentation (I print it using xmlspy)
It's difficult to understand the schema if I use long className.

I know that one of the 2 ClassName can be replaced by another text using an
XML attribute on the relationship, but don't help me.

How can I delete one of the 2 className or give a complete name for the
collection ???

Thanks

Thierry




Reply via email to