summaryrefslogtreecommitdiffstats
path: root/xmlserializer/XmlFileDocSource.h
diff options
context:
space:
mode:
Diffstat (limited to 'xmlserializer/XmlFileDocSource.h')
-rw-r--r--xmlserializer/XmlFileDocSource.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/xmlserializer/XmlFileDocSource.h b/xmlserializer/XmlFileDocSource.h
index 98ba6e3..1efafe2 100644
--- a/xmlserializer/XmlFileDocSource.h
+++ b/xmlserializer/XmlFileDocSource.h
@@ -73,6 +73,17 @@ public:
virtual bool isParsable(CXmlSerializingContext& serializingContext) const;
private:
+ /**
+ * Read xml file
+ *
+ * This function reads an xml file and processes eventual included files
+ * WARNING: to compile this function, libxml2 has to be compiled with LIBXML_XINCLUDE_ENABLED
+ *
+ * @param[in] strFileName the file name
+ *
+ * @return a pointer to generated xml document object
+ */
+ static _xmlDoc* readFile(const string& strFileName);
/**
* Instance file