Seems it doesn't work in HTML neither...
I have to dig a bit more. Sorry for the noise..
Regards,
Fabien


-----Message d'origine-----
De : Fabien Tillier [mailto:[email protected]] 
Envoyé : lundi 23 janvier 2012 14:26
À : [email protected]
Objet : [docbook] Line break mistery


Hi List.

I am using the XSL Stylesheets (v 1.75.1) to transform some docbook xml to 
either HTML or XSL-FO.
I would like to have some line-breaks, thus I added
<?linebreak?>
Instructions in my XML.
It is working in my HTML template with
<xsl:template match="processing-instruction('linebreak')">
        <br/>
</xsl:template>
(I have a customization template)
But when I switch to xsl-fo output, 
My template (here with big text so that I can see it easily in the output) is 
never called.

<xsl:template match="processing-instruction('linebreak')">
        ###########################################################
        <fo:block></fo:block>
        ###########################################################
</xsl:template>


Is there a parameter or something to be set so that this processing instruction 
can be used ?
Thanks in advance,
Best regards,
Fabien

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to