Re: Custom title page with XSL-FO
Mike Dodds <[email protected]> Mon, 6 Jan 2014 15:01:33 +0000
| Newsgroups | gmane.text.xml.xfc.general |
|---|---|
| Message-ID | <8759D40542119E4DBB1A7B4C3F0CE0C611EA5037@W8-EX2K10-G2.corelogic.local> |
Thanks Hussain :) I found that and am making some progress. Cheers Mike -----Original Message----- From: Hussein Shafie [mailto:[email protected]] Sent: 06 January 2014 14:59 To: Mike Dodds Cc: [email protected]; [email protected] Subject: Re: [XFC] Custom title page with XSL-FO On 01/06/2014 03:20 PM, Mike Dodds wrote: > > So that's not the correct way for me, as I wouldn't want to have to create a custom title page for every bookmap and have to change the configuration each time I want to create output. > > I think the only way will be to modify xxe-config:dita/xsl/fo/fo.xsl ? > Yes. More precisely please proceed as explained in this chapter: http://www.xmlmind.com/ditac/_distrib/doc/manual/manual-6.html#customAttributeSet Your customization file should contain a redefinition of <xsl:template name="autoTitlePage"> If you take a quick look at xsl/fo/ditac_titlePage.xsl, you'll guess quite easily what you can do. --- PS: If you are using XMLmind XML Editor then your XSL customization file should indeed start with: <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" version="2.0"> <xsl:import href="xxe-config:dita/xsl/fo/fo.xsl"/> </xsl:stylesheet> How to instruct XMLmind XML Editor to use your XSL customization file is explained here: http://www.xmlmind.com/xmleditor/_distrib/doc/help/customizeConfigurationMenu.html Search for "Customize Document Conversion Stylesheets". ++++ Message Scanning REF:573-AVS4-1389020368 ++++ -- XMLmind FO Converter Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xfc-support