RE : [XSL-FO] Tables in ASCII text
- I use XSL Formatter for PDF output.
I use msxml as processor for html output.
XSL Formatter cannot output text, I did not know that FOP can do it,
So it simulates the tables with | an -, it is exactly what I want.
In fact I was looking for some XSL examples, but if I can use my XSL for
text output instead of FO, its good.
How do I that?
De : Chris Bowditch [mailto:bowditch_chris@...]
Envoyé : jeudi 8 janvier 2004 10:52
À : XSL-FO@yahoogroups.com
Objet : Re: [XSL-FO] Tables in ASCII text
Christian Brugeron wrote:
> Hello,Which one?
> It's not a strict XSL-FO question.
> I render tables using my formatter.
> Some tables are complex, with spannings, alignments and the like.FOP outputs plain text, XEP does not and I dont think Antenna House's
> I have to render those tables in pure ASCII text, with borders (not
> HTML, already done).
formatter does either.
The trouble with plain text output is the formatters are designed for
Print output, so the internals all work in precise positioning units.
When the Text Renderer processes the Area Tree, it has to round these
values to the nearest character position, so the output often looks odd
with some lines having spaces in words, and two blank lines between
adjacent lines in a paragraph etc.
FOP does also have a go at simulating the borders with | and - but it
didnt do a very good job in my opinion when I tried it.
Generally speaking a XSL-FO formatter is the wrong tool for generating
text output, but that does not hold true for every scenario.
Yahoo! Groups Links
* To visit your group on the web, go to:
* To unsubscribe from this group, send an email to:
* Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service <http://docs.yahoo.com/info/terms/> .
[Non-text portions of this message have been removed]