docbook-apps

Re: [docbook-apps] Assigning value of "role" attribute to value of "class" attribute in XHTML output?

  • 1.  Re: [docbook-apps] Assigning value of "role" attribute to value of "class" attribute in XHTML output?

    Posted 04-27-2012 00:04
    That customization should work, and does work outside of the docbkx-maven-plugin. I
    don't know how the plugin works, so I cannot say why it does not work for you. But if
    the plugin uses the namespaced version of the DocBook XSL stylesheets, then any
    xsl:template match attributes in a customization must specify the DocBook namespace
    and prefix. See this reference for more information.

    http://www.sagehill.net/docbookxsl/ProcesingDb5.html#Db5Xslt

    Bob Stayton
    Sagehill Enterprises
    bobs@sagehill.net