[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Referencing to other Callouts
Tomas HAJEK wrote: > yes, this is the case I tried. The template for xref is not able to > handle <area> nor <callout> as target, so the stylesheets would need > extension. > I think that it could be also good new feature of the stylesheets. The following code will do what you want. <xsl:template match="area|areaset" mode="xref-to"> <xsl:param name="referrer"/> <xsl:param name="xrefstyle"/> <xsl:call-template name="callout-bug"> <xsl:with-param name="conum"> <xsl:apply-templates select="." mode="conumber"/> </xsl:with-param> </xsl:call-template> </xsl:template> The problem is, that Java extensions do not generate IDs during processing of programlisting with callouts specified with area/areaset. So you will get cross-reference which is pointing to nowhere. Fix in Java extensions would not be so easy (at least for me right now ;-), so please fill it as a feature request on SF site. Thanks. Jirka Personal note to Tomas: Včera k večeři jsem měl párek :-) -- ------------------------------------------------------------------ Jirka Kosek e-mail: jirka@kosek.cz http://www.kosek.cz ------------------------------------------------------------------ Profesionální školení a poradenství v oblasti technologií XML. Podívejte se na náš nově spuštěný web http://DocBook.cz Podrobný přehled školení http://xmlguru.cz/skoleni/ ------------------------------------------------------------------ Nejbližší termíny školení: ** XSLT 13.-16.3.2006 ** XML schémata 24.-26.4.2006 ** ** DocBook 15.-17.5.2006 ** XSL-FO 12.-13.6.2006 ** ------------------------------------------------------------------
S/MIME Cryptographic Signature
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]