OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: Line break mistery


Ok, I think I have it.
As I am using several transformations, the processing-instruction is no more available at the step where I need it.
So, I have added a <linebreak/> node in my XML, that I treat in my customization template
<xsl:template match="d:linebreak">
	<br/>
</xsl:template>

Or <fo:block/> in the xsl-fo layer.

Now, it is working

Regards,
Fabien (One can't be wrong while doing both questions and answers :) )



-----Message d'origine-----
De : Fabien Tillier [mailto:ftillier@cerep.fr] 
Envoyé : lundi 23 janvier 2012 14:39
À : docbook@lists.oasis-open.org
Objet : [docbook] RE: Line break mistery

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:ftillier@cerep.fr] 
Envoyé : lundi 23 janvier 2012 14:26
À : docbook@lists.oasis-open.org
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: docbook-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-help@lists.oasis-open.org


---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-help@lists.oasis-open.org



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]