xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Belinda Garcia <Belinda.Gar...@Central.Sun.COM>
Subject RE: Line-breaks?
Date Thu, 04 Jan 2001 19:12:11 GMT
Mm. I hadn't noticed that before. Well, I only get that sometimes. See this code:

<xsl:for-each select="SeverityHeader">             
              <fo:block break-before="page" text-align="start" white-space-collapse="false"
font-family="Helvetica" 
                        font-size="18pt" font-weight="bold">
                 <xsl:value-of select="@title" /><xsl:text>&#x0D;</xsl:text>
                 
              </fo:block> 
             <xsl:for-each select="Section">
                  <fo:block text-align="start" white-space-collapse="false" font-family="Helvetica"
font-size="15pt" 
                            font-weight="bold">
                     <xsl:value-of select="@title" /><xsl:text>&#x0D;</xsl:text>
                  </fo:block>   
                   <xsl:for-each select="Check">
                     <fo:block text-align="start" white-space-collapse="false" font-family="Helvetica"
font-size="12pt" 
                               font-weight="bold">- <xsl:value-of select="@checkNum"
/>: <xsl:value-of select="Problem" 
/><xsl:text>&#x0D;</xsl:text>
                     </fo:block>
                <fo:block text-align="start" white-space-collapse="false" font-family="Helvetica"
font-size="12pt" 
                               font-weight="normal">Analysis:<xsl:text>&#x0D;</xsl:text>
<fo:inline-sequence font-style="italic"><xsl:value-of select="Analysis" /></fo:inline-sequence><xsl:text>&#x0D;</xsl:text>
                     </fo:block>
                     <fo:block text-align="start" white-space-collapse="false" font-family="Helvetica"
font-size="12pt" 
                               font-weight="normal">Recommendation:<xsl:text>&#x0D;</xsl:text><xsl:value-of
select="Recommendation" 
/><xsl:text>&#x0D;</xsl:text>
                     </fo:block> 
                  </xsl:for-each>
              </xsl:for-each>
           </xsl:for-each>
           
I only get that behavior after Analysis: and Recommendation:

If you can figure out how to fix the behavior of an extra space, I'd appreciate you letting
me know.

thanks.

Belinda
> Mailing-List: contact fop-dev-help@xml.apache.org; run by ezmlm
> list-help: <mailto:fop-dev-help@xml.apache.org>
> list-unsubscribe: <mailto:fop-dev-unsubscribe@xml.apache.org>
> list-post: <mailto:fop-dev@xml.apache.org>
> Delivered-To: mailing list fop-dev@xml.apache.org
> From: Joachim Diepstraten / media access <Joachim.Diepstraten@media-access.net>
> To: "'fop-dev@xml.apache.org'" <fop-dev@xml.apache.org>
> Subject: RE: Line-breaks?
> Date: Thu, 4 Jan 2001 18:08:06 +0100 
> X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N
> 
> Hi Belinda
> 
> >That would do it. I forgot about that. You need that else it will ignore
> all your 
> >white space, including the line breaks.
> 
> Well yeah but now I've got a problem that it seems he's including a
> whitespace at the start of the newline.
> 
> >Good luck. This stuff can be a real bear to work with.
> Yeah I can see that.
> 
> Your sincerly,
>   J.D.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
> For additional commands, email: fop-dev-help@xml.apache.org
> 


Mime
View raw message