[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

How to handle TAB's in FOP?

  • To: <xml-dev@l...>
  • Subject: How to handle TAB's in FOP?
  • From: "Henk Gootjes" <hgootjes@d...>
  • Date: Wed, 9 Jan 2002 13:21:15 +0100
  • Importance: Normal

fop tab
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


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.