Hi,

I don't know what fop do with the tab, maybe someone in fop-dev could answer 
about that (they read this ml). But I agree with Victor when he talks about the 
"spirit" of XSL:FO, and moreover, of XSL Transformation. 

IMHO, I think you should do a first transformation (with a custom SAX parser) 
of your source data to "clean" it before generating the xsl-fo source. But I'm 
not a "fo guru" so it should be better for you to have other opinions.

Look at 
http://www.onjava.com/pub/a/onjava/excerpt/java_xslt_ch5/index.html?page=6 
there is an example of a custom SAX parser which take a CSV document as input 
and transform it into a XML tree.

Simon



-----Claudio De Bernardi <[EMAIL PROTECTED]> a �crit : -----

Pour : [EMAIL PROTECTED]
De : Claudio De Bernardi <[EMAIL PROTECTED]>
Date : 12/03/2003 06:06PM
Objet : tab characters alignment

Hi,
does anybody know how FOP works with tab characters?
I'm trying to generate a PDF file starting from a simple text which 
contains tab characters, and I want to keep them in the resulting PDF. I 
put the text into a block tag with the attribute 
white-space-collapse="false" ( the text to be printed hasn't a standard 
format, so I can't use tables )
It seems that FOP recognize tabs but it simply replaces them with a 
fixed number of "white spaces" without any kind of consideration about 
horizontal alignment

Thanks in advance
Claudio


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

Reply via email to