You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xalan.apache.org by cferrero <cr...@hotmail.com> on 2008/05/22 23:02:42 UTC

troubles with variables and %

hi, i have this :


<fo:block-container position="absolute" top="2.5cm" left="16.90cm"
height="1cm" width="6cm">
<xsl:variable name="ruta" select="CABECERA/RUTA"/>
<xsl:variable name="itinerario" select="CABECERA/ITINERARIO"/>
<xsl:variable name="secimp" select="CABECERA/SECIMP"/>
<xsl:variable name="barra-inicial"
select="concat('*',format-number($ruta,'00'),format-number($itinerario,'00000'),format-number($secimp,'000000'),'*')"/> 

<fo:block line-height="0.5cm" white-space-collapse="false" 
linefeed-treatment="preserve"  text-align="start" position="relative"
top="3.0cm" left="13.20cm" height="2cm" width="5cm" color="#000000"
font-family="BARRA" font-size="10.0pt">
<xsl:value-of disable-output-escaping="no" select="$barra-inicial"/>
</fo:block>

it work with other processors , not with xalan..what could be ?

another problem is that i have a node with this value 'this is 21% less' ,
but when i format it using xalan it shows 'this is 21 less' it miss
percent......
any ideas ?......thanks !!!!!
-- 
View this message in context: http://www.nabble.com/troubles-with-variables-and---tp17413414p17413414.html
Sent from the Xalan - C - Users mailing list archive at Nabble.com.