#569 xsl: acronym is not printed

packaging problem
closed-fixed
Norman Walsh
XSL (1066)
5
2004-10-25
2004-10-16
Sigurd Nes
No

the content of <acronym></acronym> is not printed when
using xsl

Discussion

  • Norman Walsh
    Norman Walsh
    2004-10-22

    Logged In: YES
    user_id=81663

    Are you sure your document is valid? I can't reproduce this
    problem, please attach a (small) test case.

     
  • Norman Walsh
    Norman Walsh
    2004-10-22

    • assigned_to: nobody --> nwalsh
     
  • Sigurd Nes
    Sigurd Nes
    2004-10-22

    Logged In: YES
    user_id=131869

    Here is a test case.

     
  • Sigurd Nes
    Sigurd Nes
    2004-10-22

    test case

     
    Attachments
  • Sigurd Nes
    Sigurd Nes
    2004-10-23

    Logged In: YES
    user_id=131869

    I use the command:
    xmlto html glossary.xml

     
  • Logged In: YES
    user_id=118135

    Sigurd,

    To have acronyms show up in glossary, you must set the
    glossentry.show.acronym parameter to 'yes'. The way to
    do that with xmlto is to create a separate file (called
    "custom.xsl" or whatever), and then run xmlto like this:

    xmlto -m custom.xsl html glossary.xml

    The contents of the custom.xsl file should be:

    <xsl:stylesheet
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    version='1.0'>
    <xsl:import
    href="http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl"/>
    <xsl:param name="glossentry.show.acronym">yes</xsl:param>
    </xsl:stylesheet>

     
    • status: open --> closed-fixed
     
  • Sigurd Nes
    Sigurd Nes
    2004-10-25

    Logged In: YES
    user_id=131869

    Thanks - that was it.