docbook-apps

  • 1.  xref processing when target is numbered. db5

    Posted 02-16-2008 10:59
    I have an internal link,
    <xref linkend="targetID"/>

    which, html output, produces
    Section 2.2.1, “section title”.

    I have
    <xsl:param name="xref.with.number.and.title" select="1"></xsl:param>
    which enables the generation of the number (I think, doco is 'todo' :-)

    Is it possible to just use the number, and omit the title?
    So it would read
    Section 2.2.1
    without the title content?
    My target is <sect3 xml:id="targetID"

    TIA

    regards

    --
    Dave Pawson
    XSLT XSL-FO FAQ.
    http://www.dpawson.co.uk



  • 2.  Re: [docbook-apps] xref processing when target is numbered. db5

    Posted 02-16-2008 11:15
    Dave Pawson wrote:
    > I have an internal link,
    > <xref linkend="targetID"/>
    >
    > which, html output, produces
    > Section 2.2.1, “section title”.
    >
    > I have
    > <xsl:param name="xref.with.number.and.title" select="1"></xsl:param>
    > which enables the generation of the number (I think, doco is 'todo' :-)
    >
    > Is it possible to just use the number, and omit the title?
    > So it would read
    > Section 2.2.1
    > without the title content?
    > My target is <sect3 xml:id="targetID"


    Found it. Sorry to waste bandwidth


    <xsl:param name="xref.with.number.and.title" select="0"></xsl:param>




    regards

    --
    Dave Pawson
    XSLT XSL-FO FAQ.
    http://www.dpawson.co.uk