Re: White Space Added but Not Needed

2012-06-26 Thread Pascal Sancho
Hi, If you get a space between # and 28, this is because it is added during XSLT stage, probably because of linefeeds or spaces around text nodes. Strictly speaking, this is out of topic in this list. That said, if you want to avoid such unexpected spaces in XSL-FO output, you have to embed all

RE: White Space Added but Not Needed

2012-06-26 Thread Amick, Eric
-Original Message- From: Rita Greenberg [mailto:rgreenb...@medata.com] Sent: Monday, June 25, 2012 17:50 To: fop-users@xmlgraphics.apache.org Subject: Re: White Space Added but Not Needed Thanks Pascal - I tried that but am still getting a space between the # and 28. I need #28

Re: White Space Added but Not Needed

2012-06-25 Thread Pascal Sancho
Hi 2012/6/22 Rita Greenberg rgreenb...@medata.com: Oops - I thought it worked but no - it's not! In my xsl:fo stylesheet I'm using wrap-option=wrap on a fo:cell level. FOP has limited support for wrap-option: only for fo:block. See Compliance page at [1]. That said, FOP breaking algorithm

Re: White Space Added but Not Needed

2012-06-25 Thread Rita Greenberg
Thanks Pascal - I tried that but am still getting a space between the # and 28. I need #28. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail:

White Space Added but Not Needed

2012-06-22 Thread Rita Greenberg
Hello. In my xsl:fo stylesheet I'm using wrap-option=wrap on a fo:cell level. I'm printing a hash (#) sign before an xml element if a cetain condition is met. So, my element has, for example, a value of 28 and if the condition is met I want to print #28. The problem is that I get # 28. A space

Re: White Space Added but Not Needed

2012-06-22 Thread Glenn Adams
this is a problem with your XSL style sheet, not with FOP processing; you should review the XSL-FO output from the XSLT process to see what the real input to FOP is On Fri, Jun 22, 2012 at 11:57 AM, Rita Greenberg rgreenb...@medata.comwrote: Hello. In my xsl:fo stylesheet I'm using

RE: White Space Added but Not Needed

2012-06-22 Thread Amick, Eric
] Sent: Friday, June 22, 2012 13:57 To: fop-users@xmlgraphics.apache.org Subject: White Space Added but Not Needed Hello. In my xsl:fo stylesheet I'm using wrap-option=wrap on a fo:cell level. I'm printing a hash (#) sign before an xml element if a cetain condition is met. So, my

Re: White Space Added but Not Needed

2012-06-22 Thread Rita Greenberg
Amick, Eric Eric.Amick at mail.house.gov writes: But you *do* ask for whitespace-the newline after the # sign and the spaces at the start of the following line do that. Use xsl:text#/xsl:text instead. Eric Amick Systems Engineer II Legislative Computer Systems Thanks Eric for your

Re: White Space Added but Not Needed

2012-06-22 Thread Rita Greenberg
Glenn Adams glenn at skynav.com writes: this is a problem with your XSL style sheet, not with FOP processing; you should review the XSL-FO output from the XSLT process to see what the real input to FOP is Thanks Glen. I need to figure out how to review the XSL-FO output.

RE: White Space Added but Not Needed

2012-06-22 Thread Thomas Morrison
PM To: fop-users@xmlgraphics.apache.org Subject: White Space Added but Not Needed Hello. In my xsl:fo stylesheet I'm using wrap-option=wrap on a fo:cell level. I'm printing a hash (#) sign before an xml element if a cetain condition is met. So, my element has, for example, a value of 28

RE: White Space Added but Not Needed

2012-06-22 Thread Thomas Morrison
Direct: +1.512.340.4822 Mobile: +1.512.785.9347 -Original Message- From: Thomas Morrison [mailto:thomas.morri...@microfocus.com] Sent: Friday, June 22, 2012 2:13 PM To: fop-users@xmlgraphics.apache.org Subject: RE: White Space Added but Not Needed Rita, There are a couple of different

Re: White Space Added but Not Needed

2012-06-22 Thread Rita Greenberg
Thanks Thomas. I tried that and the space disappeared but the wrapping was gone also! - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail:

Re: White Space Added but Not Needed

2012-06-22 Thread Rita Greenberg
Thanks Thomas! This time I got it to work correctly. I used: [code] xsl:if test=RC[.!=''] and RCOVERRIDE[.!='Y'] and RCMODIFIED[.='Y'] xsl:variable name=aHash#/xsl:variable xsl:value-of select=concat($aHash, RC) / fo:inline font-size=4pt#160;/fo:inline /xsl:if Much appreciated!

Re: White Space Added but Not Needed

2012-06-22 Thread Rita Greenberg
Oops - I thought it worked but no - it's not! - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org