This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Generated text survey


Excellent!  That fixes an xref to example, figure, or question, but it 
doesn't seem to help with sections.  I'll keep digging.  Thanks for the tip.

At 03:57 PM 3/29/01 -0500, Jirka Kosek wrote:
>Jon Willeke wrote:
> >
> > An xref to a section has the trailing period, as well.  I proposed a kludge
> > at the time, but I'd love it if someone more fluent in XSLT could fix it
> > for good.
>
>This should help:
>
><xsl:template name="number.xref">
>   <xsl:param name="target" select="."/>
>   <xsl:apply-templates select="$target" mode="label.content">
>     <xsl:with-param name="punct"/>
>   </xsl:apply-templates>
></xsl:template>

--
Jon Willeke, Quality Engineer
InterSystems Corp.
One Memorial Drive, Cambridge, MA 02142


------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]