1 #ifndef XERCESXMLUTILS_H
2 #define XERCESXMLUTILS_H
4 #include <xercesc/dom/DOM.hpp>
7 #ifndef HELPERS_IMP_EXP
9 #define HELPERS_IMP_EXP __declspec(dllexport)
11 #define HELPERS_IMP_EXP __declspec(dllimport)
31 StrX(
const XMLCh*
const toTranscode) {
33 fLocalForm = XERCES_CPP_NAMESPACE_QUALIFIER XMLString::transcode(toTranscode);
37 XERCES_CPP_NAMESPACE_QUALIFIER XMLString::release(&fLocalForm);
55 #define XercesToStr(str) StrX(str).localForm()
57 inline XERCES_STD_QUALIFIER ostream&
operator<<(XERCES_STD_QUALIFIER ostream& target,
const StrX& toDump)