[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook] Formatting Elements for XSL-FO
Hi Thomas, -------- Original-Nachricht --------
Betreff: Re: [docbook] Formatting Elements for XSL-FO Von: Thomas Schraitle <tom_schr@web.de> An: docbook@lists.oasis-open.org Datum: 09.02.2015 11:38 Oh, that i haven't knew. Then i'm using the other list for that.Hi Sascha, in the future, post to the docbook-apps mailinglist which is intended for all kind of XSLT customizations. The docbook mailinglist is for schema related questions. :) That's very easy. Thank you very much :-)This is quite easy. Search for a template in fo/inline.xsl which matches database. You'll find this: <xsl:template match="database"> <xsl:call-template name="inline.charseq"/> </xsl:template> Wrap the inline.charseq with a <fo:inline color="..."> and your're done: <xsl:template match="database[@class='datatype']"> <fo:inline color="green"> <xsl:call-template name="inline.charseq"/> </fo:inline> </xsl:template> <xsl:template match="database[@class='procedure']"> <fo:inline color="red"> <xsl:call-template name="inline.charseq"/> </fo:inline> </xsl:template> Hope this helps. -- Yours sincerly Sascha Manns --------------------------------- XCOM AG Qualitätsmanagement Banksystem Backend Rechnungswesen, Meldewesen, Steuern Rennweg 60 Haus 2 56626 Andernach Telefon +49 2632 9899-158 Telefax +49 2632 9899-010 Sascha.Manns@xcom.de http://www.xcom.de *** XCOM AG Legal Disclaimer *** Diese E-Mail einschliesslich ihrer Anhaenge ist vertraulich und ist allein für den Gebrauch durch den vorgesehenen Empfaenger bestimmt. Dritten ist das Lesen, Verteilen oder Weiterleiten dieser E-Mail untersagt. Wir bitten, eine fehlgeleitete E-Mail unverzueglich vollstaendig zu loeschen und uns eine Nachricht zukommen zu lassen. This email may contain material that is confidential and for the sole use of the intended recipient. Any review, distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies. Hauptsitz: Allee 8, D-47877 Willich, USt-IdNr.: DE 812 885 664 Kommunikation: Telefon +49 2154 9209-70, Telefax +49 2154 9209-900, www.xcom.de Handelsregister: Amtsgericht Krefeld, HRB 10340 Vorstand: Dirk Franzmeyer, Marco Marty, Dirk Werner, Sascha Bochartz Vorsitzender des Aufsichtsrates: Stefan H. Tarach |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]