Re: Spaces

2003-01-27 Thread Joannes Capitanio



try to use
white-space-collapse="false" property inside 
fo:block

joannes

  - Original Message - 
  From: 
  Paulo 
  Gustavo Benfatti 
  To: [EMAIL PROTECTED] 
  Sent: Monday, January 27, 2003 1:00 
  PM
  Subject: Spaces
  
  Hi,
  
   How can i add more than a 
  space between two words in fop:block tag ?
  
  Thanks,
  
  Paulo Benfatti
  Accenture - São Paulo - 
Brazil


Using String for XML source

2002-12-20 Thread Joannes Capitanio




I'd like to generate xml string from a different 
source ( using directly some class instead of reading from a file 
andcreating a String variable)... my xml source doen't 
inclusde any reference to external source... so
I tryed to open result using a StringReader... but 
a lot of exception come up when I compiled my class.. 
perhaps,systemID is always required...

Could someone help me?

thanks in advance


Exception using xsl:define-constant

2002-12-17 Thread Joannes Capitanio




Dear,

I'd like to use xsl constant definition into a fop 
code... here a piece...

xsl:stylesheet 
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
version="1.0" xmlns:fo="http://www.w3.org/1999/XSL/Format"

!-- constant --xsl:define-constant 
name="images-dir" value="c:/idea-2_6/fop/images"/

xsl:template 
match="/"fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"

fo:layout-master-setfo:simple-page-master 
master-name="first"page-height="29.7cm"page-width="24cm"margin-top="0.5cm"margin-bottom="0.5cm"margin-left="1cm"margin-right="1cm"fo:region-body 
margin-top="2.5cm"/fo:region-before 
extent="4cm"/fo:region-after 
extent="5.5cm"//fo:simple-page-master

the compiler response was:
FOP exception org.apache.fop.apps.FOPException: 
javax.xml.transform.TransformerConfigurationException: 
javax.xml.transform.TransformerException: 
javax.xml.transform.TransformerException: xsl:define-constant is not allowed in 
this position in the stylesheet!

could someone help me?

thanks in advance

joannes