Implements the pre-treatement of the OFX file prior to parsing: OFX header striping, OFX proprietary tags and SGML comment striping, locating the appropriate DTD.
Definition in file fx-0.6.5/lib/ofx_preproc.cpp.
Go to the source code of this file.
Functions | |
int | ofx_proc_file (int argc, char *argv[]) |
ofx_proc_file is the entry point of the library. | |
string | sanitize_proprietary_tags (string input_string) |
Removes proprietary tags and comments. | |
string | find_dtd (const int requested_version) |
Find the appropriate DTD for the file version. | |
Variables | |
const unsigned int | READ_BUFFER_SIZE = 1024 |
|
Find the appropriate DTD for the file version. This function will try to find a DTD matching the requested_version and return the full path of the DTD found (or an empty string if unsuccessfull) Please note that currently the function will ALWAYS look for version 160, since OpenSP can't parse the 201 DTD correctly Definition at line 231 of file fx-0.6.5/lib/ofx_preproc.cpp. Referenced by ofx_proc_file(). |
|
ofx_proc_file is the entry point of the library. libofx_proc_file must be called by the client, with a list of 1 or more OFX files to be parsed in command line format. Definition at line 34 of file fx-0.6.5/lib/ofx_preproc.cpp. Referenced by main(). |
|
Removes proprietary tags and comments. This function will strip all the OFX proprietary tags and SGML comments from the SGML string passed to it Definition at line 128 of file fx-0.6.5/lib/ofx_preproc.cpp. Referenced by ofx_proc_file(). |