| 255 | } |
| 256 | |
| 257 | pugi::xpath_node_set SettingsManager::getValueNodeList(std::string_view _path) |
| 258 | { |
| 259 | std::string path{_path}; |
| 260 | path += "/Value"; |
| 261 | |
| 262 | pugi::xpath_node_set nodes = mUserDocument->document_element().select_nodes(path.data()); |
| 263 | if (!nodes.empty()) |
| 264 | return nodes; |
| 265 | |
| 266 | nodes = mDocument->document_element().select_nodes(path.data()); |
| 267 | return nodes; |
| 268 | } |
| 269 | |
| 270 | } |
no test coverage detected