Next in thread →
Next in month →
Re: DOCBOOK: re: text coloring
/ "E.L. Willighagen" <> was heard to say: | > then customise the style-sheets to process the role appropriately. | | that is indeed what i tried yesterday. haven't got it working yet. | What should the XSLT matching rule look like? | | I tried "para[@role='passed']" but that did not seem to work. This works for me: <?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:import href="../html/docbook.xsl"/> <xsl:template match="para[@role='passed']"> <p><font color="green"><xsl:apply-templates/></font></p> </xsl:template> </xsl:stylesheet> What didn't seem to work for you? Be seeing you, norm -- Norman Walsh <> | Where it is permissible both to http://www.oasis-open.org/docbook/ | die and not to die, it is an abuse Chair, DocBook Technical Committee | of valour to die.--Mencius
Next in thread →
Next in month →