Description
I would like to use the attribute hyphenation="true" on my tag <intervento> if inside there is a tag <italic> I would like to set the hyphenation="false". The problem is that I can use the hyphenation only on fo:block and fo:inline. Could someone give me an advise ?
This is an example of my xml:
<intervento tipo="sottotitolo">Some text that should have the hyphenation true (<italic>This one shoud have the hyphenation false</italic>). (C. 4768)</intervento>
This is my fo:sxl:
<xsl:template match="intervento[@tipo='sottotitolo']"> <!-- Hyphenation Enabled --> <fo:block text-align="justify" widows="1" orphans="1" language="it" hyphenate="true"> <xsl:apply-templates/> </fo:block> </xsl:template> <xsl:template match="italic"> <fo:inline font-style="italic" keep-together="always"> <xsl:value-of select="."/> </fo:inline> </xsl:template>