Main Page   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

ofx_preproc.cpp File Reference

Preprocessing of the OFX files before parsing. More...

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. More...

string sanitize_proprietary_tags (string input_string)
 Removes proprietary tags and comments. More...

string find_dtd (const int requested_version)
 Find the appropriate DTD for the file version. More...


Variables

const unsigned int READ_BUFFER_SIZE = 1024


Detailed Description

Preprocessing of the OFX files before parsing.

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.2/lib/ofx_preproc.cpp.


Function Documentation

string find_dtd const int    requested_version
 

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 229 of file fx-0.6.2/lib/ofx_preproc.cpp.

int ofx_proc_file int    argc,
char *    argv[]
 

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.2/lib/ofx_preproc.cpp.

string sanitize_proprietary_tags string    input_string
 

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 126 of file fx-0.6.2/lib/ofx_preproc.cpp.


Generated on Sun Nov 24 20:26:32 2002 for LibOFX by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002