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] | [Elist Home]


Subject: DOCBOOK-APPS: use.id.as.filename may produce invalid filenames


Hi,

I use the use.id.as.filename parameter to produce recognizable filenames
from chapter-IDs. Now I've got some problems with German umlauts in
filenames - the hyperlinks do not work in the browser. That's why I've made
the following hack in chunk-common.xsl:

      <!-- filenames, then use the ID to generate the filename. -->
      <xsl:when test="@id and $use.id.as.filename != 0">
-->     <xsl:value-of select="translate(@id, 'äöüÄÖÜß', '_')"/>
        <xsl:value-of select="$html.ext"/>
      </xsl:when>

1) How can I achieve this within my customization layer without copying the
whole template?
2) Wouldn't it be reasonable to provide a parameter to avoid any special
characters in the generated filenames?

Regards
Gisbert Amm


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


Powered by eList eXpress LLC