<tag value='botafogo'> botafogo is the best </tag>
Needs match only botafogo (...is the best) and not 'botafogo' value
my program "annotates" automatically the term in a pure text:
botafogo is the best
to
<team attr='best'>botafogo</team> is the best
and when i "replace all" the "best" word, i have a big problem...
<team attr='<adjective>best</adjective>'>botafogo</team> is the <adjective>best</adjective>
Ps.: Java language