TFormer_SetXmlDataFile
Provide Data · String encodings
Definition
Windows: ANSI; Unix: UTF-8
ERRCODE TFormer_SetXmlDataFile(HTFORM pInstance, LPCSTR pszFileName);
Windows only: UTF-16
ERRCODE TFormer_SetXmlDataFileW(HTFORM pInstance, LPCWSTR pszFileName);
Contract
Specifies a XML file as JobData.
The element (or attribute) names in the XML file must match the DataField names in the FormLayout.
Returns
ErrOk (0) in case of success, non-zero if an error occurred
Parameters
| Parameter / type | Description |
|---|---|
pInstanceHTFORM |
|
pszFileNameLPCSTR / LPCWSTR |
|