<files> // list of files
<file // file
filename="design1.emb" // filename including the type
filecontents="..." // contents of the file
/>
<file // file
filename="design2.emb" // filename including the type
filecontents="..." // contents of the file
/>
<file // file
filename="trueview.png" // filename including the type
filecontents="..." // contents of the file
/>
</files>
Usage:
The files xml string is used in:
- Input of api/designInfo
- Input and Output of api/designTrueview
- Input and Output of api/newDesignTrueview
- Input and Output of api/newDesign
- Input and Output of api/newLetteringPreview
Remarks:
The files xml string specifies the list of files used or produced by a given function. It can contain one or more files.
The file specifies a single file that can be used or produced by the API.
The filename specifies the name of the file, including the type. The name is a unique identifier of the file that could be referenced in other parts of the input or output.
The filecontents encodes the contents of the file as a base64 string.
Note that some characters are valid in filename of filesystem but are invalid in xml.
For any attribute value:
- “<” becomes “<”
- “&” becomes “&”
- ‘”‘ becomes ‘"’ (if you are using quote(“) to delimit the attribute value)
- “‘” becomes “'” (if you are using apostrophe(‘) to delimit the attribute value)