Re: Custom title page with XSL-FO

Hussein Shafie <[email protected]> Mon, 06 Jan 2014 15:59:21 +0100
Newsgroups gmane.text.xml.xfc.general
Message-ID <[email protected]>
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".



--
XMLmind FO Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xfc-support