OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: generate.citerefentry.link customization not emitting refentrytitle contents in XSL-NS stylesheets

    I've got a Docbook 5 <refentry> page including


    and a stylesheet customization of ...xsl-ns/current/xhtml5/onechunk.xsl

    <xsl:param name="citerefentry.link" select="'1'"></xsl:param>
    <xsl:template name="generate.citerefentry.link"><xsl:value-of select="refentrytitle"/><xsl:text>.xhtml</xsl:text></xsl:template>

    When I process this with e.g.

xsltproc testref.xsl testref.xml

the generate.citerefentry.link template is run, but does not emit the
<refentrytitle> contents in testref.xhtml. I expect to see

<a class="citerefentry" href="glDepthRange.xhtml"><span class="citerefentry"><span class="refentrytitle">glDepthRange</span></span></a>

but in fact get


    Did something change about the way this template should be coded between
the XSL and XSL-NS stylesheets? When I change the stylesheet in testref.xsl to
the old ...release/xsl/current/xhtml5/onechunk.xsl, the generated link
comes out correctly. This is using the the 1.78.1 releases of both XSL and
XSL-NS, as packaged by Debian.
    Jon Leech

Attachment: testref.xhtml
Description: application/xhtml

Attachment: testref.xsl
Description: application/xslt

<refentry xmlns="http://docbook.org/ns/docbook"; version="5.0" xml:id="testref">
	<refpurpose>test citerefentry/refentrytitle</refpurpose>
    <refsect1 xml:id="seealso"><title>See Also</title>

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]