// loop inside the tags of the same type
NodeList links = getLinks (inputModified, tags[i], recursive);
for (int j=0; j<links.size(); j++)
{
CompositeTag beginTag = (CompositeTag)links.elementAt(j);
Tag endTag = beginTag.getEndTag();
// positions of begin and end tags
int beginTagBegin = beginTag.getStartPosition ();
int endTagBegin = beginTag.getEndPosition ();
int beginTagEnd = endTag.getStartPosition ();
int endTagEnd = endTag.getEndPosition ();
if (insideTag)
{
dummyString = modifyDummyString (new String(dummyString), beginTagBegin, endTagEnd);
}