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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to