[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: Howto customize title for legalnotice
Sorry, made same mistake 2nd time within a week :( Will be more careful now... ~spr Mauritz Jeanson wrote: > >> -----Original Message----- >> From: spr >> >> My minimal customization is: >> <?xml version="1.0" encoding="utf-8"?> >> <xsl:stylesheet >> xmlns:xsl = "http://www.w3.org/1999/XSL/Transform" >> xmlns:fo = "http://www.w3.org/1999/XSL/Format" >> xmlns:d = "http://docbook.org/ns/docbook" >> version = "5.0" >> xmlns:l = "http://docbook.sourceforge.net/xmlns/l10n/1.0"> >> >> <xsl:import >> href = "../docbook-xsl-ns-1.73.2/fo/docbook.xsl" /> >> >> <xsl:attribute-set name="formal.title.properties"> >> <xsl:attribute name="color"> >> <xsl:choose> >> <xsl:when test = "self::legalnotice">red</xsl:when> >> <xsl:otherwise>green</xsl:otherwise> >> </xsl:choose> >> </xsl:attribute> >> </xsl:attribute-set> > > > Since you use the XSL-NS stylesheets, you must use > > <xsl:when test = "self::d:legalnotice">red</xsl:when> > > And the value of the version attribute should be 1.0. > > /MJ > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org > > > -- View this message in context: http://www.nabble.com/Howto-customize-title-for-legalnotice-tf4568304.html#a13125141 Sent from the docbook apps mailing list archive at Nabble.com.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]