Skip to content

Instantly share code, notes, and snippets.

@ryanfb
Last active December 12, 2015 05:48
Show Gist options
  • Select an option

  • Save ryanfb/4724656 to your computer and use it in GitHub Desktop.

Select an option

Save ryanfb/4724656 to your computer and use it in GitHub Desktop.
Modified citegop.xsl cite:request template for linking from citefusioncoll to a cite-collection-editor instance.
<xsl:template match="cite:request">
<h2>Requested Collection</h2>
<p><xsl:apply-templates select="./cite:urn"/></p>
<xsl:element name="a">
<xsl:attribute name="href"><xsl:text>http://example.com/cite-collection-editor/index.html#collection=YOURCOLLECTION&amp;URN=</xsl:text><xsl:value-of select="./cite:urn"/></xsl:attribute>
<xsl:attribute name="target"><xsl:text>_blank</xsl:text></xsl:attribute>
<xsl:text>Open in Editor</xsl:text>
</xsl:element>
</xsl:template>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment