diff options
author | Adrian Kummerlaender | 2014-06-15 15:14:46 +0200 |
---|---|---|
committer | Adrian Kummerlaender | 2014-06-15 15:14:46 +0200 |
commit | 32c65970263c65022f5278b568c07b63c3d5d64b (patch) | |
tree | 2efa72b5bc2288daec5d8a5c7ec0e8f7fcaa1365 /src/function/read_xml_file.h | |
parent | 58d3e1b8d03a10594e13658b50545fd714c04f6d (diff) | |
download | InputXSLT-32c65970263c65022f5278b568c07b63c3d5d64b.tar InputXSLT-32c65970263c65022f5278b568c07b63c3d5d64b.tar.gz InputXSLT-32c65970263c65022f5278b568c07b63c3d5d64b.tar.bz2 InputXSLT-32c65970263c65022f5278b568c07b63c3d5d64b.tar.lz InputXSLT-32c65970263c65022f5278b568c07b63c3d5d64b.tar.xz InputXSLT-32c65970263c65022f5278b568c07b63c3d5d64b.tar.zst InputXSLT-32c65970263c65022f5278b568c07b63c3d5d64b.zip |
Merged "read-xml-file" and "read-file" into "read-file"
* FunctionReadFile is now able to distinguish between XML files and plain text files
** it selects the appropriate course of action automatically
** reading the file as XML into the DOM or reading it as a string
* the current selection criteria is the file extension
** I am thinking about trying to import every file into the DOM and using the result state of that action as selection criteria
* Updated README.md and test cases accordingly
Diffstat (limited to 'src/function/read_xml_file.h')
-rw-r--r-- | src/function/read_xml_file.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/function/read_xml_file.h b/src/function/read_xml_file.h deleted file mode 100644 index 7fe949a..0000000 --- a/src/function/read_xml_file.h +++ /dev/null @@ -1,27 +0,0 @@ -#ifndef INPUTXSLT_SRC_FUNCTION_READ_XML_FILE_H_ -#define INPUTXSLT_SRC_FUNCTION_READ_XML_FILE_H_ - -#include "base.h" - -namespace InputXSLT { - -class FunctionReadXmlFile : public FunctionBase< - FunctionReadXmlFile, - std::string -> { - public: - using FunctionBase::FunctionBase; - - protected: - friend FunctionBase; - - xercesc::DOMDocument* constructDocument( - const FilesystemContext&, - std::string - ); - -}; - -} - -#endif // INPUTXSLT_SRC_FUNCTION_READ_XML_FILE_H_ |