Have been asked to extend Geonetwork 2.2.0, in particular am attempting to
alter the logic where a Download button is displayed in the metadata search
During transformation individual metadata elements in /response have 'brief'
pre-processing which results in <link> elements being added, summarising
online data details prior to rendering the results page. For example,
iso19139 metadata containing a 'CI_OnlineResource' element will result in two
<link> elements being created. Only one of these, the second created, is
actually used for rendering. If you dig deeper in metadata-iso19139.xsl you
find <link> elements being created around lines 1964 and 2028. A comment at
line 2027 indicates that the second <link> element is deprecated.
The first <link> appears unused, the second <link>, the deprecated element is
used to produce the search results buttons.
What is the intention here? I get the feeling this is incomplete
functionality. Could the designer please comment?