docbook-apps

  • 1.  Titleabbrev in outer margin

    Posted 03-23-2010 12:03
    Hello list.

    I am not a XSL programmer, so I kindly ask you to bear with me. I have
    a docbook compilant XML file (an operating instruction) that contains
    several different languages. Basic outline of the XML file is:

    <part>



  • 2.  Re: [docbook-apps] Titleabbrev in outer margin

    Posted 03-24-2010 17:47
    Sorry to bother you all. Any ideas regarding this issue?
    Thank you.

    /frank

    23 mar 2010 kl. 13.02 skrev Frank Arensmeier:

    > Hello list.
    >
    > I am not a XSL programmer, so I kindly ask you to bear with me. I
    > have a docbook compilant XML file (an operating instruction) that
    > contains several different languages. Basic outline of the XML file
    > is:
    >
    > <part>
    >

    >


  • 3.  Re: [docbook-apps] Titleabbrev in outer margin

    Posted 03-26-2010 08:36
    Just for the record. I found the solution by myself. The following
    xpath expression gives me the position of the article element in the
    xml tree:

    <xsl:param name="article.position">
    <xsl:value-of select="count(ancestor-or-self::article/preceding-
    sibling::article)" />
    </xsl:param>

    Based on that, I managed to calculate the offset value for the
    fo:block that contains the titleabbrev.

    /frank

    24 mar 2010 kl. 18.46 skrev Frank Arensmeier:

    > Sorry to bother you all. Any ideas regarding this issue?
    > Thank you.
    >
    > /frank
    >
    > 23 mar 2010 kl. 13.02 skrev Frank Arensmeier:
    >
    >> Hello list.
    >>
    >> I am not a XSL programmer, so I kindly ask you to bear with me. I
    >> have a docbook compilant XML file (an operating instruction) that
    >> contains several different languages. Basic outline of the XML file
    >> is:
    >>
    >> <part>
    >>

    >>