Main Page   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

ofx_preproc.hh File Reference

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

Go to the source code of this file.

Functions

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

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


Variables

const int DTD_SEARCH_PATH_NUM = 3
 The number of different paths to search for DTDs. This must match the number of entry in DTD_SEARCH_PATH.

const char * DTD_SEARCH_PATH [DTD_SEARCH_PATH_NUM]
 The list of paths to search for the DTDs. (Note that this should be modified so that the selected path from the makefile is added here automatically). More...


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 ofx_preproc.hh.


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.

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.


Variable Documentation

const char* DTD_SEARCH_PATH[DTD_SEARCH_PATH_NUM]
 

Initial value:

 { 



  "/usr/local/share/libofx/dtd/", 
  "/usr/share/libofx/dtd/", 
  "~/"}
The list of paths to search for the DTDs. (Note that this should be modified so that the selected path from the makefile is added here automatically).

Definition at line 37 of file ofx_preproc.hh.


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