[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [docbook-apps] titlepage customization
> -----Original Message----- > From: Stefan Mueller > > Then I tried to create a fo-file, but it shows error. > > Buildfile: C:\workspace\mathlib\build.xml > xmltofo: > [java] Error at xsl:stylesheet on line 2 of > file:/C:/workspace/mathlib/Documentation/src/DocBook/xsl/fo/ti > tlepage.my.xsl: > [java] Namespace prefix exsl has not been declared This is probably due to a problem with Xalan. The output file is missing a declaration for the exslt namespace prefix. This line in template/titlepage.xsl <xsl:copy-of select="document('')/xsl:stylesheet/namespace::exsl"/> is not producing the expected output because of a known bug. See http://issues.apache.org/jira/browse/XALANJ-2305. There is a workaround in the comments section of the bug. > I removed the word "exsl" from a line in > the file template/titlepage.xsl > > exclude-result-prefixes="doc t param exsl" --> > ="doc t param" > > and afterwards the generation of the fo-file worked quite well. Are you sure that this is the only change you made? The problem with the missing namespace prefix declaration will not go away just by removing 'exsl' from exclude-result-prefixes. /MJ
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]