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: Re: [docbook-apps] generate.citerefentry.link customization not emitting refentrytitle contents in XSL-NS stylesheets

Hi Jon,
You said DocBook 5, so I think you need to add the namespace prefix to the element name:

<xsl:value-of select="d:refentrytitle"/>

Bob Stayton
Sagehill Enterprises

On 11/8/2013 3:56 AM, Jon Leech wrote:
    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=""><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

To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org


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