[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] titlepage customization
Dear Bob, thanks for the initial help. I am quite new to docbook. I did as you pointed out. I also added a customization file docbook2.xsl <?xml version='1.0'?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:import href="docbook.xsl"/> <xsl:include href="titlepage.my.xsl"/> </xsl:stylesheet> 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/titlepage.my.xsl: [java] Namespace prefix exsl has not been declared [java] Error at xsl:when on line 92 of file:/C:/workspace/mathlib/Documentation/src/DocBook/xsl/fo/titlepage.my.xsl: [java] Namespace prefix exsl has not been declared [java] Error at xsl:value-of on line 92 of file:/C:/workspace/mathlib/Documentation/src/DocBook/xsl/fo/titlepage.my.xsl: [java] Namespace prefix exsl has not been declared [ I removed the word "exsl" from a line in the file template/titlepage.xsl exclude-result-prefixes="doc t param exsl" --> exclude-result-prefixes="doc t param" and afterwards the generation of the fo-file worked quite well. Did I do something wrong in the first place? Thanks, Stefan. Bob Stayton wrote: > Hi Stefan, > Actually the titlepage.templates.xsl file is output file, not the > processing stylesheet for that process. See this reference for more info: > > http://www.sagehill.net/docbookxsl/TitlePageNewElems.html > > Bob Stayton > Sagehill Enterprises > DocBook Consulting > bobs@sagehill.net > > > ----- Original Message ----- From: "Stefan Mueller" > <stefan@held-mueller.de> > To: <docbook-apps@lists.oasis-open.org> > Sent: Saturday, November 25, 2006 6:33 AM > Subject: [docbook-apps] titlepage customization > > >> Hi out there, >> >> I just tried to compile a titlepage.template in the fo directory, like >> >> java -jar xalan.jar -out mytitle.xls -xsl titlepage.templates.xsl -in >> titlepage.templates.xml >> >> >> All I get is an error message. Since I am pretty new to xsl I did not >> change anything in the templates, just called xalan as a try. What did >> I do wrong? >> >> file:/..... c/DocBook/docbook-xsl-1.70.1/fo/title >> page.templates.xsl; Zeile #84; Spalte #-1; XSLT-Fehler >> (javax.xml.transform.Tran >> sformerConfigurationException): >> javax.xml.transform.TransformerException: org.ap >> ache.xml.utils.WrappedRuntimeException: Variable mit Namen >> title.fontset kann nicht gefunden werden >> >> Tough the error message is in german it just says >> >> variable title.fontset not found. >> >> What did I do wrong? >> >> Anyway, I'd like to put a picture on the titlepage of a pdf-file. >> >> Thanks for helping, >> Stefan. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org >> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org >> >> >> > > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]