XMLAny

Map a Xml.DomDocument object to a wildcard XML element:

DEFINE myVar RECORD ATTRIBUTES(XMLName="Root",XMLNamespace="http://tempuri.org")
  val1  INTEGER ATTRIBUTES(XMLName="Val1"),
  any   Xml.DomDocument ATTRIBUTES(XMLAny,XMLNamespace="##other"),
  val2  FLOAT   ATTRIBUTES(XMLName="Val2")
END RECORD
<pre:Root xmlns:pre="http://tempuri.org" >
  <pre:Val1>148</pre:Val1>
  <pre2:Doc xmlns:pre2="http://www.mycompany.com">
     <pre2:Element>how</pre2:Element>
     <pre2:Element>are</pre2:Element>
     <pre2:Element>you</pre2:Element>
  </pre2:Doc>
  <pre:Val2>
0.58</pre:Val2>
</pre:Root>
Note: Associated with XMLAny, the XMLNamespace attribute requires either:

For example: