OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   How to handle TAB's in FOP?

[ Lists Home | Date Index | Thread Index ]

I have exported a block of text and tried to reform it with XSL-FOP to PDF.

example of the content:
<ArticleTx>
Aansluitingen:
Aanvoer		: 1" buitendraad.
Retour		: 1" buitendraad.
Gas		 	: 1" buitendraad.
Rookgasafvoer	:  150 mm.
Luchttoevoer	:  150 mm (indien gesloten uitgevoerd).
Condensafvoer	:   32 mm uitwendig.
</ArticleTx>

This is the way they are treated:

<!-- Aanvullende artikeltekst afdrukken -->
<xsl:if test="ArticleTx!=''">
	<fo:block white-space-collapse="false" space-before="0.5cm"
end-indent="1.5cm">
		<xsl:value-of select="ArticleTx"/>
	</fo:block>
</xsl:if>

It contains RETURN's and TAB's. To handle RETURN's is not the problem: just
replace them with a charactercode. But the TAB's are giving me more
problems! Does anyone know how to handle the TAB's? I tried to replace them
with &#9; but that does not solve the problem. One TAB is larger (4 spaces)
then the other TAB (9 spaces), so there is not a well formed output.

Who can help me?

Thx!

Henk Gootjes
Delias IT





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS