OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook-apps] db4-upgrade.xsl dropping

On 11/03/2013 04:56 AM, Thomas Schraitle wrote:
Could you add the following 3 lines into the latest db4-upgrade.xsl stylesheet
and try it again?

  <xsl:template match="*" mode="clean-terms">
     <xsl:apply-templates select="." mode="copy"/>

(You can add it below the <xsl:template match="glossterm|term"> template

The above template rule just copies any element inside term unless it is a
classsynopsis, cmdsynopsis, or any other "special" element. These are handled

If it works for you, I can update the stylesheet in the SVN repository.

    Thank you, Thomas! That lets through the various legal elements within
<term> and so seems to solve all the issues I've encountered to date with
the conversion. I did ask the Debian docbook5-xml package maintainers to
sync up with the Docbook top-of-trunk release, so hopefully the prepackaged
version will eventually get up to date as well.
    Jon Leech

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]