blob: 4c63c72a3473a920076504911ccd6aa49d08b6d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#ifndef INPUTXSLT_SRC_SUPPORT_UTILITY_H_
#define INPUTXSLT_SRC_SUPPORT_UTILITY_H_
namespace {
inline std::string xalanToString(const xalan::XalanDOMString& text) {
xalan::CharVectorType castHelper;
text.transcode(castHelper);
return std::string(
castHelper.begin(),
castHelper.end() - 1
);
}
}
#endif // INPUTXSLT_SRC_SUPPORT_UTILITY_H_
|