XTF: <behavior> to Functional Interface

kt109nc2cj.mets.xml

<behavior ID="disp1" STRUCTID="dynaxml" BTYPE="display" LABEL="Display Behavior">
  <mechanism LABEL="eScholarship Display Mechanism" LOCTYPE="URL" xlink:href="/dynaxml/profiles/display/escholDisplayMech.xml"/>
</behavior>
	      

escholDisplayMech.xml

<displayMech ID="eschol">
   <style path="style/eschol/dynaxml.xsl"/>
</displayMech>
	      

doclookup.xsl

<xsl:choose>
  <xsl:when test="$docId='eschol-preview'">
    <style path="style/eschol/dynaxml.xsl"/>
  </xsl:when>
  <xsl:when test="$docId='oac-preview'">
    <style path="style/oac/dynaxml.xsl"/>
  </xsl:when>
  <xsl:when test="$displayMech//style">
    <xsl:copy-of select="$displayMech//style"/>
  </xsl:when>
  <xsl:otherwise>
    <style path="style/dynaxml/dynaxml.xsl"/>
  </xsl:otherwise>
</xsl:choose>