Re: AW: fop -xml file.xml -xsl file.xsl -pdf file.pdf

2001-07-31 Thread Horiana . Costea


Thank you very much. It worked.

Horiana


   
 
Erik Rehrmann  
 

.ag> cc:   
 
 Subject: AW: fop -xml file.xml -xsl 
file.xsl -pdf file.pdf 
31/07/2001 
 
16:31  
 
Please 
 
respond to 
 
fop-dev
 
   
 
   
 




Hi Horiana,

using  should work for you. It sets an attribute to the
parent

(short version:)


   
 
   
   
 
   
  



Erik Rehrmann
IOn AG - [EMAIL PROTECTED]


-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 31. Juli 2001 15:21
An: [EMAIL PROTECTED]
Betreff: fop -xml file.xml -xsl file.xsl -pdf file.pdf


Hi all,

Here is what I want to do. I am using the "Fop" command line application giving
to it three parameters: the xml file, the xsl file and the name of the output
pdf file.

I have an xml file with the following content:


 
  .

  
   . 
  
  
   . 
  
  
 
   


The idea is that "color" and "size" attributes are specific to each paragraph.
The texts within different paragraphs could be coloured in different colours and
could have different sizes. I tried to build the xsl file and for a 
I used a fo:block formatting object. The problem is that the "font_size"
attribute of fo:block formatting object has to have a fixed value, so the xsl
file should look like


   
 
   


But I would like that the "font-size" and "background-color" to take the values
(somehow and I don't know how) from xml file. I tried something like this:
 
 font-family="sans-serif"
 line-height="10pt"
 text-align="start"
 background-color="blue"
 start-indent="1cm">
 
   

but it didn't work.

Can anyone help me?

Thanks,
Horiana


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




fop -xml file.xml -xsl file.xsl -pdf file.pdf

2001-07-31 Thread Horiana . Costea

Hi all,

Here is what I want to do. I am using the "Fop" command line application giving
to it three parameters: the xml file, the xsl file and the name of the output
pdf file.

I have an xml file with the following content:


 
  .

  
   . 
  
  
   . 
  
  
 
   


The idea is that "color" and "size" attributes are specific to each paragraph.
The texts within different paragraphs could be coloured in different colours and
could have different sizes.
I tried to build the xsl file and for a  I used a fo:block formatting
object. The problem is that the "font_size" attribute of fo:block formatting
object has to have a fixed value, so the xsl file should look like


   
 
   


But I would like that the "font-size" and "background-color" to take the values
(somehow and I don't know how) from xml file. I tried something like this:
 
 font-family="sans-serif"
 line-height="10pt"
 text-align="start"
 background-color="blue"
 start-indent="1cm">
 
   

but it didn't work.

Can anyone help me?

Thanks,
Horiana


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