Last active
December 12, 2015 05:48
-
-
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <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&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