Help for this page
sub adverts { ... } } return $str;
<xsl:template match="adverts"> <div id="adverts"> ... </a> </xsl:if>