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

keeping text together in PDF

Subject: keeping text together in PDF
From: Nadia.Swaby@xxxxxx
Date: Mon, 16 Jan 2006 10:11:46 -0500
keeping text together in pdf
Hi all,

I have a problem with an XML Document that is being rendered to PDF, using
AntennaHouse.  The XML contains the following text:
for Sand Castings is .125"

When the document is rendered to PDF, the . (period) gets separated from
the 125".  I discovered that a way around this is to create the fo document
as follows:
<fo:block>
      ....for Sand Castings is <fo:inline keep-together.within-line="always
">.125"</fo:inline>
</fo:block>

This is what I need to know:  Is there any way (using XSL 1.0) to surround
a string that contains '.n(1-5)" ' with an fo:inline element?  Or will I
have to add and element to the XML so that the user can specify which text
need to be kept on the same line?

Thanks

Nadia Swaby
Knowledge Management, Plant #22
Pratt & Whitney Canada
905-564-7500 ext. 5466

Current Thread

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
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.