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] Customizing chapter.titlepage


Hi Ken,

On Donnerstag, 3. Januar 2008, Ken Morse wrote:
>
> I'd like to change the output generated by chapter.titlepage (in
> html/titlepage.templates.xsl) but when I include a copy of it in my
> customization layer, I get the following errors from xsltproc:
>
> xsltproc --output title.html html.xsl title.xml
> runtime error: file html.xsl line 17 element choose
> function-available() : prefix exsl is not bound
> runtime error: file html.xsl line 32 element choose
> function-available() : prefix exsl is not bound
> error: file title.xml
> xsltRunStylesheet : run failed
>
> I've attached the test document and customization stylesheet -- is
> there something else I need to do to successfully customize
> chapter.titlepage?

You forgot the namespace declaration for the exsl prefix. Try the 
following modification in your customization layer:


<xsl:stylesheet version="1.0"
 xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
 xmlns:exsl="http://exslt.org/common";
 exclude-result-prefixes="exsl">
  ...
</xsl:stylesheet>


Hope that helps,
Tom

-- 
Thomas Schraitle


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