The method replaceVariables(String) is undefined for the type
<p>I get this message for as many times as I have used <code>replaceVariables</code> in my code. I have added the referenced libraries, but I don't know what else to do. Can someone please help me?</p>

<p><strong>Update</strong>: This is the code:</p>

<pre><code>   int k = 0;
for(Xml reg_is:fetchsite.child("site").child("regexps").children("reg"))    
{
if(reg_is.string("name").contains("unique")){


if(reg_is.child("start").content()=="")
    error += "\tNo prefix reg.exp. given.\n";

  else
prefix = HtmlMethods.removeBreaks(replaceVariables(reg_is.child("start").content()));                       

if(reg_is.child("end").content()=="")
    error += "\tNo suffix reg.exp. given.\n";
 else
suffix = HtmlMethods.removeBreaks(replaceVariables(reg_is.child("end").content()));

}
else{
  poleis[k][0]= HtmlMethods.removeBreaks(reg_is.string("name"));
  poleis[k][1] = HtmlMethods.removeBreaks(replaceVariables(reg_is.child("start").content()));//ιδια δομη για ολες τις πολεις
  poleis[k][2] = HtmlMethods.removeBreaks(replaceVariables(reg_is.child("end").content()));
  k++;
 }
}
</code></pre>

<p>In this part I use my XML in order to find the data from a HTML page that I want.</p>
