Menu

#716 Problem with multiple author elements in axf.xsl

closed-fixed
XSL (1066)
5
2005-11-20
2005-10-15
No

The following select expression in the template with
name="axf-document-information" does not quite work if
you have multiple author elements (for example in
revhistory) in a document:

<xsl:with-param name="node" select="//author[1]"/>

It is supposed to select just the first author element, but in
fact it selects too much: namely every author element that
is the first child of its parent. Suggestion: update axf.xsl
using xep.xsl as a model.

Discussion

  • Robert Stayton

    Robert Stayton - 2005-11-20

    Logged In: YES
    user_id=193218

    A fix for this issue has been added to the current codebase.
    Please test the fix with the latest snapshot from:

    http://docbook.sourceforge.net/snapshots/

     
  • Robert Stayton

    Robert Stayton - 2005-11-20

    Logged In: YES
    user_id=193218

    I used the xep.xsl processing as a model. I also added
    normalize-space() to all the values.

     
  • Robert Stayton

    Robert Stayton - 2005-11-20
    • assigned_to: nobody --> bobstayton
    • status: open --> closed-fixed