Hello,

I have this xml file shape :

      <Columns>
            <Column>....</Column>
            <Column>....</Column>
            <Column>PErf. 2003 2002 2000</Column>
      </Columns>

I would like to have a line break between  PErf., 2003, 2002, 2000.
I fact, i would like an equivalent of : "PErf. <br> 2003 <br> 2002 <br>
2000." in html

I know that, the xsl fo equivalent of <br> is <fo:block/>

I have tried this code:

<xsl:template match='.../Columns/Column'>
      <fo:table-cell background-color="#7f3f00">
            <fo:block text-align="left" font-size="8pt" color="#FFFFFF">
                  <xsl:value-of disable-output-escaping="yes"
select="translate(. , ' ' , '&lt;fo:block&gt;')"/>
            </fo:block>
      </fo:table-cell>
</xsl:template>

or

<xsl:template match='.../Columns/Column'>
      <fo:table-cell background-color="#7f3f00">
            <fo:block text-align="left" font-size="8pt" color="#FFFFFF">
                  <xsl:value-of disable-output-escaping="yes"
select="translate(. , ' ' , concat('&lt;','fo:block','&gt;'))"/>
            </fo:block>
      </fo:table-cell>
</xsl:template>


but the xsl fo code return is:

PErf. <2003<2002<2000

i would like : PErf.<fo:block/>2003<fo:block/>2002<fo:block/>2000

Can you help me?
Have you an other method to add line breaks?

Thanks

Sébastien











The contents of this E-mail are confidential and may contain privileged 
information to the sole intended recipient at the E-mail address to which it 
has been addressed. It may not be disclosed to our used by anyone other than 
the addressee, nor may it be copied or forwarded in any way without the consent 
of the sender.
The sender hereby make no representation as to the accuracy, completeness for a 
particular purpose of the information provided in this E-mail. No binding 
commitment from the sender may be inferred by means of E-mail communications.
Please note that the sender accepts any responsibility for viruses and it is 
your responsibility to scan the E-mail and attachments (if any). 
If received in error, please reply by mail to the sender or contact the sender 
by phone (+352) 45 67 301, and then delete it from your system.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to