English

FAQ: What metadata element does the "Who, Publishing Organization:" on the Advanced Search Page reference?

Question

What metadata element does the "Who, Publishing Organization:" on the Advanced Search Page reference?

Answer

In the 'get_ps_parameters.xslt' file located in the <TOMCAT>\webapps\Portal\WEB-INF\classes\com\esri\gpt\catalog\adapters directory, locate the <xsl:variable name="editor_name"> section as shown below.

This section defines which metadata element tag is referenced for the 'Who, Publishing Organization' drop-down box.

Notice that the metadata element path differs depending on which of the three supported metadata standards is used.

Code:
<xsl:variable name="editor_name">
<xsl:if test="$doc_schema = 'iso19115'">
<xsl:value-of select="/metadata/mdContact/rpIndName"/>
</xsl:if>
<xsl:if test="$doc_schema = 'fgdc'">
<xsl:value-of select="/metadata/idinfo/ptcontac/cntinfo/cntperp/cntper | /metadata/idinfo/ptcontac/cntinfo/cntorgp/cntper"/>
</xsl:if>
<xsl:if test="$doc_schema = 'iso19139'">
<xsl:value-of select="/MD_Metadata/identificationInfo/MD_DataIdentification/pointOfContact/CI_ResponsibleParty[role/CI_RoleCode/@codeListValue='pointOfContact']/individualName/CharacterString"/>
</xsl:if>
</xsl:variable>