return aLibName;\r
}\r
\r
+bool BothAreSpaces(char lhs, char rhs) { return (lhs == rhs) && (lhs == ' '); }\r
+\r
std::string getProperty(xmlNodePtr theNode, const char* thePropName)\r
{\r
std::string result = "";\r
if (!aPropChars || aPropChars[0] == 0)\r
return result;\r
result = std::string(aPropChars);\r
+\r
+ std::string::iterator new_end = std::unique(result.begin(), result.end(), BothAreSpaces);\r
+ result.erase(new_end, result.end()); \r
+\r
return result;\r
}\r
\r