ERRCODE TFormer_SetXmlDataFileEx ( HTFORM  pInstance,
LPCSTR  pszFileName,
LPCSTR  pszXsltFileName,
LPCSTR  pszXsltTFC 
)

Specifies a XML-File as DataSource and transforms it with the given XSLT.

Returns:
- ErrOk (0) in case of success
- Non-zero if error occurred
Parameters:
[in] pInstance The TFORMer-Instance provided by a previous call to TFormer_Init.
[in] pszFileName Data-file name
[in] pszXsltFileName XSLT Data-file name, if NULL then no transformation is done on given data file
[in] pszXsltTFC XSLT TFC-file name. Internal Use ONLY (generates TFC File from given xml file)
Remarks:
This DataSource enables TFORMer Runtime to use XML-files as a DataSource for printing a Job. The specified XML-file must comply to the formats recognized by TFORMer. The following XML formats can be used:
  • Variant 1 of the generic XML-format.
  • Variant 2 of the generic XML-format.
  • The XML-format used in current versions of Microsoft® Access.
  • The XML-format used by TFORMer internally (see TFormer_SetDataFile).
Warning:
Internal use only!
See also:
TFormer_SetTxtDataFile, TFormer_SetImportFieldForRecordCopy, TFormer_SetXmlDataFile.


© 2006-2009 - all rights reserved by TEC-IT Datenverarbeitung GmbH
Generated on Wed Sep 2 16:01:09 2009 for TFORMer Runtime DLL/Shared Library with doxygen 1.5.8