Manu created FOP-2769:

             Summary: FOP hyphenation xsl fo
                 Key: FOP-2769
             Project: FOP
          Issue Type: Improvement
          Components: fo/block, fo/inline
    Affects Versions: 2.2
            Reporter: Manu
         Attachments: Immagine.png

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. 

This is my fo:sxl:

<xsl:template match="intervento[@tipo='sottotitolo']">
<!-- Hyphenation Enabled -->
<fo:block text-align="justify" widows="1" orphans="1" language="it" 
<xsl:template match="italic">
<fo:inline font-style="italic" keep-together="always">
<xsl:value-of select="."/>

This message was sent by Atlassian JIRA

Reply via email to