appsxmlout
| appsxmlout | 
  Purpose
 
  
  Synopsis
 
 function appsxmlout(label:string):string
 
  Argument
 
 | 
     label 
     | 
     entity label
     | 
  Return value
 
 
 An extended CSV filename
 
  Example
 
 
 The following lines of Mosel code
 
 declarations
  myArr: array(range) of real
end-declarations
myArr::[1..3][1.2, 3.5, 6.7]
initialisations to appsxmlout("AnArray")
  myArr as "[](ArIndex,ArValue)"
end-initialisations
appsxmlexport("result")
 output the array
 myArr to a result file of this form:
 
 <ResultRecordList>
  <ResultRecord>
    <AnArray>
      <AnArray_rec>
        <ArIndex>1</ArIndex>
        <ArValue>1.2</ArValue>
      </AnArray_rec>
      <AnArray_rec>
        <ArIndex>2</ArIndex>
        <ArValue>3.5</ArValue>
      </AnArray_rec>
      <AnArray_rec>
        <ArIndex>3</ArIndex>
        <ArValue>6.7</ArValue>
      </AnArray_rec>
    </AnArray>
  </ResultRecord>
</ResultRecordList>
  Further information
 
 
 1. This function generates the extended file name to be used by
 initializations to for the specified label.
 
 
 2. Data output to the resulting file needs to be terminated by a call to
 appsxmlexport in order to generate the XML file.
 
 
  Related topics
 
  
