Re: block centering and entities

2001-10-17 Thread Keiron Liddle

After a quick test it appears that your problem is not what you think it
is.
All the combinations with entities appear to work fine with the test.

On Tue, 16 Oct 2001 16:56:18 [EMAIL PROTECTED] wrote:
 Is this a bug?  Let me explain:
 
 I have a block that should be centered on the screen.  Sometimes it
 contains the '' sign and sometimes it does not.  When it does not, the
 block is centered correctly.  When it has an '' sign, my code translates
 it to the entity representation 'amp;' and it is then fed into the
 translation.  When it renders the document, the text is now off-center. 
 It
 looks like it is centering on the text with the entity (i.e. Pamp;ON
 Value
 Added Services) and not the translated text(i.e. PON Value Added
 Services).  Is this correct?
 
 Am I doing something wrong?
 XSL snippet:
 fo:block font-size=12pt color=black text-align=center
  xsl:apply-templates select=reporttitle/
 /fo:block
 
 -Lou
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: block centering and entities

2001-10-17 Thread Louis . Masters


Thanks.  I'll look again.  I guess I am doing something wrong.





Keiron Liddle [EMAIL PROTECTED] on 10/17/2001 02:34:42 AM

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:

Subject:  Re: block centering and entities

After a quick test it appears that your problem is not what you think it
is.
All the combinations with entities appear to work fine with the test.

On Tue, 16 Oct 2001 16:56:18 [EMAIL PROTECTED] wrote:
 Is this a bug?  Let me explain:

 I have a block that should be centered on the screen.  Sometimes it
 contains the '' sign and sometimes it does not.  When it does not, the
 block is centered correctly.  When it has an '' sign, my code translates
 it to the entity representation 'amp;' and it is then fed into the
 translation.  When it renders the document, the text is now off-center.
 It
 looks like it is centering on the text with the entity (i.e. Pamp;ON
 Value
 Added Services) and not the translated text(i.e. PON Value Added
 Services).  Is this correct?

 Am I doing something wrong?
 XSL snippet:
 fo:block font-size=12pt color=black text-align=center
  xsl:apply-templates select=reporttitle/
 /fo:block

 -Lou



 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]









-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]