appsxmlin
appsxmlin |
Purpose
Synopsis
function appsxmlin(label:string):string
Argument
label
|
entity label
|
Return value
An extended CSV filename
Example
The following lines of Mosel code
declarations myStr: string end-declarations appsxmlimport("input") initialisations from appsxmlin("AnotherScalar") myStr as "[](AnotherScalar)" end-initialisations
read the value of the scalar
from an input file of this form:
<InputRecordList> <InputRecord> <MyScalarValue>7.5</MyScalarValue> <AnotherScalar>a string value</AnotherScalar> </InputRecord> </InputRecordList>
Further information
1. This function generates the extended file name to be used by
initializations from for the specified label.
2. Data input from the resulting file needs to be preceeded by a call to
appsxmlimport.
Related topics