That is
<target route="z3950.indexdata.com">z3950.indexdata.com</route>
may use the shorter notation
<target route="z3950.indexdata.com"/>
{
std::string route = mp::xml::get_route(ptr);
std::string target = mp::xml::get_text(ptr);
{
std::string route = mp::xml::get_route(ptr);
std::string target = mp::xml::get_text(ptr);
+ if (target.length() == 0)
+ target = route;
m_p->m_route_patterns.push_back(Multi::Map(target, route));
}
else if (!strcmp((const char *) ptr->name, "hideunavailable"))
m_p->m_route_patterns.push_back(Multi::Map(target, route));
}
else if (!strcmp((const char *) ptr->name, "hideunavailable"))