RE: [docbook-apps] change the color of a paragrapfh

From
David Cramer <>
Date
2008-02-12T15:20:03+00:00
ID
Thread
RE: [docbook-apps] change the color of a paragrapfh
See this message: 
http://www.oasis-open.org/archives/docbook-apps/200801/msg00152.html

For this technique to work, you should add the template to a
customization layer
<http://www.sagehill.net/docbookxsl/CustomMethods.html#CustomizationLaye
r>. 

Btw., do you really want to do it based on id? I would think some other
attribute would be more useful. 

David 

> -----Original Message-----
> From: 61Sniper [mailto:] 
> Sent: Tuesday, February 12, 2008 8:25 AM
> To: 
> Subject: [docbook-apps] change the color of a paragrapfh
> 
> 
> Hello all,
> 
> how can I change the color of the following paragraph
> 
> <para id="testpara">
>      Change my color
> </para>
> 
> I have tried with
> 
> 
> <xsl:attribute-set id="testpara">
>      <xsl:attribute name="color">blue<xsl:attribute> 
> </xsl:attribute-set>
> 
> It doesn`t work.
> --
> View this message in context: 
> http://www.nabble.com/change-the-color-of-a-paragrapfh-tp15434
031p15434031.html
> Sent from the docbook apps mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> For additional commands, e-mail: 
> 
> 
>