Commits

btingle committed 9e3df4b

closes 5946 problem with legacy object in Bancroft EAD

http://www.oac.cdlib.org/findaid/ark:/13030/tf796nb6z9/dsc/#dsccl

  • Participants
  • Parent commits 8f42667
  • Branches dsc-prod-xtf3.0

Comments (0)

Files changed (1)

style/dynaXML/docFormatter/ead/oac4/ead.html.xsl

         replace(replace(replace(@href,'http://.*/ark:/', concat('/' , 'ark:/') ) ,'/$',''), '\s$','')" />
 	<xsl:variable name="href">
 		   <xsl:choose>
-			<xsl:when test="@poi">
+			<xsl:when test="@poi != ''">
 				<xsl:text>/</xsl:text>
 				<xsl:value-of select="@poi"/>
 				<xsl:text>/?brand=oac4</xsl:text>
 	</div>  
 	</a>
 </div>      
-
 </xsl:template> 
 
-<xsl:template match="daogrp[@poi]" mode="ead-dsc ead">
+<xsl:template match="daogrp[@poi!='']" mode="ead-dsc ead">
 <xsl:param name="img_src" select="'/images/icons/sq-eye_icon.gif'"/>
 	<xsl:variable name="href">
 		<xsl:text>/</xsl:text>