XMLSimpleContent

Map a BDL RECORD to an XML Schema simpleContent structure.

One member must have the XMLBase attribute; all other members must have an XMLAttribute attribute. If not, the compiler complains.

Example

DEFINE mysimpletype RECORD ATTRIBUTES(XMLSimpleContent,XMLName="Root")
  base  STRING  ATTRIBUTES(XMLBase),
  val1  INTEGER ATTRIBUTES(XMLAttribute,XMLName="Val1"),
  val2  FLOAT   ATTRIBUTES(XMLAttribute,XMLName="Val2")
END RECORD
<Root Val1="148" Val2="25.8">
  Hello
</Root>