Suggestions |
---|
Search:
|
Next:
refmeta |
Previous:
reference Up: References and Entries refentry.mod.xsl |
<xsl:template match="refentry"> <xsl:variable name="refmeta" select=".//refmeta"/> <xsl:variable name="refentrytitle" select="$refmeta//refentrytitle"/> <xsl:variable name="refnamediv" select=".//refnamediv"/> <xsl:variable name="refname" select="$refnamediv//refname"/> <xsl:variable name="title"> <xsl:choose> <xsl:when test="$refentrytitle"> <xsl:apply-templates select="$refentrytitle[1]"/> </xsl:when> <xsl:when test="$refname"> <xsl:apply-templates select="$refname[1]"/> <xsl:apply-templates select="$refnamediv//refpurpose"/> </xsl:when> </xsl:choose> </xsl:variable> ... </xsl:template>