XMLSimpleContent

Map a 4GL Record to an XML Schema simpleContent structure.

Note: One member must have the XMLBase attribute; all other members must have an XMLAttribute attribute. If not, the compiler complains.
DEFINE mysimpletype RECORD ATTRIBUTE(XMLSimpleContent,XMLName="Root")
  base  STRING  ATTRIBUTE(XMLBase),
  val1  INTEGER ATTRIBUTE(XMLAttribute,XMLName="Val1"),
  val2  FLOAT   ATTRIBUTE(XMLAttribute,XMLName="Val2")
END RECORD
<Root Val1="148" Val2="25.8">
  Hello
</Root>