- std::list<Within>::const_iterator it = enabled_within;
- bool subst = false;
-
- if (it != m_phase->within_list.end())
- {
- subst = true;
- if (it->attr.length() > 0)
- {
- subst = false;
- std::vector<std::string> attr;
- boost::split(attr, it->attr, boost::is_any_of(","));
- size_t i;
- for (i = 0; i < attr.size(); i++)
- {
- if (attr[i].compare("#text") == 0)
- {
- subst = true;
- }
- }
- }
- }