#include "XMLStrings.h"
#include "messagePrinting.h"
#include <ostream>
#include <xercesc/util/PlatformUtils.hpp>
#include <xercesc/dom/DOM.hpp>
#include <xercesc/parsers/XercesDOMParser.hpp>
#include <xercesc/sax/ErrorHandler.hpp>
#include <xercesc/sax/SAXParseException.hpp>
#include <xercesc/validators/DTD/DTDGrammar.hpp>
#include <xercesc/framework/LocalFileFormatTarget.hpp>
Include dependency graph for XMLSupport.h:
This graph shows which files directly or indirectly include this file:
Classes | |
class | TranscodedString |
Simple class used to transcode given const XMLCh * to const char * . More... | |
class | UnicodeString |
Simple class used to transcode given const char * to const XMLCh * . More... | |
class | XMLSupportErrorHandler |
Simple error handler used when parsing XML documents. More... | |
Defines | |
#define | TAGNAME_BUFFER_SIZE 128 |
#define | ToString(x) (const char *)TranscodedString(x) |
#define | ToXML(x) (const XMLCh *)UnicodeString(x) |
Functions | |
std::ostream & | operator<< (std::ostream &target, const TranscodedString &toDump) |
int | checkTagName (DOMElement *element, const char *expectedName, CStdString &errorString) |
bool | isTag (DOMElement *element, const char *nameToTest) |
int | getRequiredAttribute (DOMElement *element, const char *attributeName, CStdString &attributeValue, CStdString &errorString) |
int | getOptionalAttribute (DOMElement *element, const char *attributeName, CStdString &attributeValue) |
int | getTextElementContent (DOMElement *element, CStdString &content, CStdString &errorString) |
|
Maximal size of buffer used when getting value of an attribute in getRequiredAttribute() or getOptionalAttribute(). |
|
Macro to make using of TranscodedString easier (in Visual C++ useless).
|
|
Macro to make using of UnicodeString easier (in Visual C++ useless).
|
|
Operator needed to make it possible to send TranscodedString to |
|
Checks whether
|
|
Tests whether
|
|
Gets value of attribute specified by
If
|
|
Gets value of attribute specified by
If
|
|
Checks whether given If the content would be empty, 1 is returned (error).
|