8. A computer system for facilitating rule-based content mining to extract content from structured or unstructured data, the computer system comprising: a processor; a memory; a receiving mechanism configured to receive a file which contains structured or unstructured data, or a mixture of both; a text-mining mechanism configured to mine text content of the file to automatically recognize a component in the received file; a pre-processor configured to: convert the recognized component of the received file into semantic data, wherein the semantic data indicates one or more attributes for the recognized component; and generate a processable extensible markup language (pXML) file, wherein a respective pXML element of the pXML file includes the semantic data associated with the recognized component; a rule-engine configured to extract content from the pXML file based on one or more map objects, wherein a respective map object specifies an input rule for analysis and/or an output rule for formatting, wherein the respective map object further specifies one or more sub-map objects and/or sub-rules, and wherein the respective map object comprises one or more of: a map object name; a plug-and-play switch; an activation switch; and an activation order; and a post-processor configured to generate a semantic XML file corresponding to the received file and/or the extracted content based on one or more specified output rules, wherein generating the semantic XML file based on the specified output rules involves applying an XLST file or an external program and generating an application-specific XML file.
8. A computer system for facilitating rule-based content mining to extract content from structured or unstructured data, the computer system comprising: a processor; a memory; a receiving mechanism configured to receive a file which contains structured or unstructured data, or a mixture of both; a text-mining mechanism configured to mine text content of the file to automatically recognize a component in the received file; a pre-processor configured to: convert the recognized component of the received file into semantic data, wherein the semantic data indicates one or more attributes for the recognized component; and generate a processable extensible markup language (pXML) file, wherein a respective pXML element of the pXML file includes the semantic data associated with the recognized component; a rule-engine configured to extract content from the pXML file based on one or more map objects, wherein a respective map object specifies an input rule for analysis and/or an output rule for formatting, wherein the respective map object further specifies one or more sub-map objects and/or sub-rules, and wherein the respective map object comprises one or more of: a map object name; a plug-and-play switch; an activation switch; and an activation order; and a post-processor configured to generate a semantic XML file corresponding to the received file and/or the extracted content based on one or more specified output rules, wherein generating the semantic XML file based on the specified output rules involves applying an XLST file or an external program and generating an application-specific XML file. 13. The computer system of claim 8 , wherein the output rule can be one or more of: a “not specified” rule, a “complete input text” rule, an “input” rule, a “constant” rule, a “sub result” rule, a “maximum sub result” rule, an “average sub result” rule, and a “table mapping” rule.