[GeoNetwork-devel] add link

Hi,

I want add button link into geonetwork search that call my application (gis viewer) for view map using wms url

I modify search-results-xhtml.xsl file and I have add this code:

<xsl:if test="$metadata/link[@type='googleearth']">
  <a href="MYLINK" style="vertical-align: sub;cursor: pointer;">Link</a>
</xsl:if>

How can I get server wms url and layer name?

I want replace type='googleearth' but I don't understand well.

Can you help me please?

Sorry for my english

Thanks in advance

Luca Santaniello