-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I don't suppose you have the parameter profile.role set to some value
(and are using the one-pass profiling xsl)? That would cause the para to
be stripped from your output.
Having a template like <xsl:template
match="db5:para[@role='replique']"/> in your customization layer would
also strip it.
David
On 05/16/2011 07:13 AM, Christophe HARO wrote:
> Hi all,
>
> I want to control a class attribute value that is outputed for para element. I'm using the cutomization that is described at
http://www.sagehill.net/docbookxsl/UsingCSS.html#CustomClass (page 73 of the fourth edition of "DocBook XSL - The Complete Guide").
>
> DocBook XML : <para role="replique">Bla bla bla</para>
> Customization of the HTML stylesheet XSL : <xsl:param name="para.propagates.style" select="1" />
>
> But the HTML ouput is not :
Bla bla bla
as expected. The line Bla bla bla is not ouputed at all.
>
> I have also customized an other stylesheet for print output.
>
> Customization of the FO stylesheet XSL :
> <xsl:template match="db5:para[@role='replique']">
> <fo:block xsl:use-attribute-sets="normal.para.spacing">
> <xsl:text>— </xsl:text>
> <xsl:call-template name="anchor" />
> <xsl:apply-templates />
> </fo:block>
> </xsl:template>
>
> and all works as expected.
>
> Can someone help me to find what is wrong in the customization of the XSL stylesheet for HTML output ?
>
> Many thanks,
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org/iQEcBAEBAgAGBQJN0S7zAAoJEMHeSXG7afUhmTsH/iZHZwOiXEzA/JKgKiB4wu1W
KnFUnst619w0kqsf3JJr0vfytSVZMIFBbLS/MkmLStwx/1qCGdPLcZ9o3FhDOyV2
bkl3KG3jKTJ8rF66W02TWsVt7AhK3Wt0gc1tzGJrGABauCmfMBpqkaqFLE2/zIpL
lzinlm+B+4oah+zOYeUmfJFkDHleR3sn7cZHFS2Ew28HFJpnmVYVnfSYkKfrSgk/
5m8s7wnGjIj5RdmlgyRClzPYIS5TTU4sLrUGWYS9cjYav2hgj2aZ6qfKQSk4ZR7P
ZtU58c1p3Fdkg7cj/7Jvu8A9eiZySlEebFz6vxT/CUlrt6PaOyLY+qRtUoFXuMk=
=rT2l
-----END PGP SIGNATURE-----