FOP Error

2004-09-16 Thread Jirole, Amar
Title: Message



I am 
trying to run fop code very similar to ExampleObj2Pdf attached along with 
documentation but I get following error when i try to open the pdf file 
generated.


Any 
idea what might be going wrong? This error is not there in 
FAQ.

Thanks
-Amar

  
  
attachment: Outlook.bmp-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

FOP opening only 1 PDF when more than one is rendered?

2004-09-16 Thread Manoj_Nair
I have a for loop which calls the XSLTHandler and then renderer in loop
till the input criteria is exhausted.

What happens is the acrobat reader opens only the last pdf file rendered...

My code looks like..whats happening is that only the last (10th ) invoice
is opening up in acrobat. I am running it under WEBLOGIC 7.0

for ( i = 0 to 10 invoices )
{

  XSLTInputHandler input = new XSLTInputHandler(invoicexmlfile,new
File(xslParam));
  renderXML( input, response);
}

public void renderXML(XSLTInputHandler input,
  HttpServletResponse response) throws ServletException
{
try {
ByteArrayOutputStream out = new ByteArrayOutputStream();
response.setContentType(CONTENT_TYPE);
Driver driver = new Driver();
String OS = System.getProperty(os.name);
driver.setLogger(log);
driver.setErrorDump(true);
driver.setRenderer(Driver.RENDER_PDF);
driver.setOutputStream(out);
driver.render(input.getParser(), input.getInputSource());

byte[] content = out.toByteArray();
response.setContentLength(content.length);
response.getOutputStream().write(content);
response.getOutputStream().flush();
} catch (Exception ex) {
throw new ServletException(ex);
}

Thanks
Manoj



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



Re: FOP opening only 1 PDF when more than one is rendered?

2004-09-16 Thread Jebus
what you are doing is writing 10 separate documents to the
outputstream.  If you need all these documents to show up as one. you
iText to merge them together.

On Wed, 15 Sep 2004 18:02:37 -0700, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
 I have a for loop which calls the XSLTHandler and then renderer in loop
 till the input criteria is exhausted.
 
 What happens is the acrobat reader opens only the last pdf file rendered...
 
 My code looks like..whats happening is that only the last (10th ) invoice
 is opening up in acrobat. I am running it under WEBLOGIC 7.0
 
 for ( i = 0 to 10 invoices )
 {
 
   XSLTInputHandler input = new XSLTInputHandler(invoicexmlfile,new
 File(xslParam));
   renderXML( input, response);
 }
 
 public void renderXML(XSLTInputHandler input,
   HttpServletResponse response) throws ServletException
 {
 try {
 ByteArrayOutputStream out = new ByteArrayOutputStream();
 response.setContentType(CONTENT_TYPE);
 Driver driver = new Driver();
 String OS = System.getProperty(os.name);
 driver.setLogger(log);
 driver.setErrorDump(true);
 driver.setRenderer(Driver.RENDER_PDF);
 driver.setOutputStream(out);
 driver.render(input.getParser(), input.getInputSource());
 
 byte[] content = out.toByteArray();
 response.setContentLength(content.length);
 response.getOutputStream().write(content);
 response.getOutputStream().flush();
 } catch (Exception ex) {
 throw new ServletException(ex);
 }
 
 Thanks
 Manoj
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


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



XSLT tag needed

2004-09-16 Thread KS.Bhaskar








Hi everybody,



 I am sending two tags can anybody please tell me
how to get the value of it in XSLT.



 The tags are:



 ns1:BusObjectType
xmlns:ns1=DbGMLPriceBusHdrMARKETDATA/RISK/CDS/IPV/ns1:BusObjectType

 ns2:BusObjectOwner
xmlns:ns2=DbGMLPriceBusHdrtbd/ns2:BusObjectOwner



 If try to give xsl:value-of select=ns1:BusObjectType/

  xsl:value-of select=ns2:BusObjectOwner/  



 XALAN parser is giving an error saying :



 SystemId Unknown; Line #8; Column #44; XSLT
Error (javax.xml.transform.Transform

erConfigurationException):
javax.xml.transform.TransformerException: javax.xml.t

ransform.TransformerException:
Prefix must resolve to a namespace: ns1



Thanks 

Bhaskar



  



DISCLAIMER:This message contains privileged and confidential information and is intended only for the individual named.If you are not the intended recipient you should not disseminate,distribute,store,print, copy or deliver this message.Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system.E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted,corrupted,lost,destroyed,arrive late or incomplete or contain viruses.The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. 




FW: Delimiter as Tab, Please help me

2004-09-16 Thread KS.Bhaskar








Hi everybody,



 Please send me the solution if
anybody has. Also give me some hints regarding new line characters, user defined
delimiters. 



Thanks in advance.



Regards,

Bhaskar











From: K S Bhaskar
-ICEXT 
Sent: Wednesday, September 15,
2004 4:32 PM
To: '[EMAIL PROTECTED]'
Subject: Delimiter as Tab, Please
help me





Hi everybody,




How can I implement tab as a delimiter , XSL.


Please help me






Thanks in advance.



Regards,

Bhaskar



DISCLAIMER:This message contains privileged and confidential information and is intended only for the individual named.If you are not the intended recipient you should not disseminate,distribute,store,print, copy or deliver this message.Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system.E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted,corrupted,lost,destroyed,arrive late or incomplete or contain viruses.The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. 




Re: FOP opening only 1 PDF when more than one is rendered?

2004-09-16 Thread Manoj_Nair
I dont want them merged into 1 document. I want them separate but want the one instance of acrobat ( which opened the first invoice ) to take the other 9 documents created after the first one. Now what is happening is that the last document is opened in the acrobat reader where as the other 9 are lost.I have a feeling it has something to do with the response object. I think trying to use the same response/request object is causing the first 9 docs to be flushed out with the last one only remaining...on right track ?Thanks-Jebus [EMAIL PROTECTED] wrote: -To: [EMAIL PROTECTED]From: Jebus [EMAIL PROTECTED]Date: 09/15/2004 06:57PMSubject: Re: FOP opening only 1 PDF when more than one is rendered?whatyouaredoingiswriting10separatedocumentstotheoutputstream.Ifyouneedallthesedocumentstoshowupasone.youiTexttomergethemtogether.OnWed,15Sep200418:02:37-0700,[EMAIL PROTECTED][EMAIL PROTECTED]wrote:IhaveaforloopwhichcallstheXSLTHandlerandthenrendererinlooptilltheinputcriteriaisexhausted.Whathappensistheacrobatreaderopensonlythelastpdffilerendered...Mycodelookslike..whatshappeningisthatonlythelast(10th)invoiceisopeningupinacrobat.IamrunningitunderWEBLOGIC7.0for(i=0to10invoices){XSLTInputHandlerinput=newXSLTInputHandler(invoicexmlfile,newFile(xslParam));renderXML(input,response);}publicvoidrenderXML(XSLTInputHandlerinput,HttpServletResponseresponse)throwsServletException{try{ByteArrayOutputStreamout=newByteArrayOutputStream();response.setContentType(CONTENT_TYPE);Driverdriver=newDriver();StringOS=System.getProperty("os.name");driver.setLogger(log);driver.setErrorDump(true);driver.setRenderer(Driver.RENDER_PDF);driver.setOutputStream(out);driver.render(input.getParser(),input.getInputSource());byte[]content=out.toByteArray();response.setContentLength(content.length);response.getOutputStream().write(content);response.getOutputStream().flush();}catch(Exceptionex){thrownewServletException(ex);}ThanksManoj-Tounsubscribe,e-mail:[EMAIL PROTECTED]Foradditionalcommands,e-mail:[EMAIL PROTECTED]-Tounsubscribe,e-mail:[EMAIL PROTECTED]Foradditionalcommands,e-mail:[EMAIL PROTECTED]

RE: FOP opening only 1 PDF when more than one is rendered?

2004-09-16 Thread Chris Pratt








As far as I know, that cant be
done. One request, one reply, thats all you get. Have you ever seen
this work on another web site? If so, take a look at how they do it.

 (*Chris*)











From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 15,
2004 9:17 pm
To: [EMAIL PROTECTED]
Subject: Re: FOP opening only 1
PDF when more than one is rendered?







I dont want them merged into 1 document. I want them
separate but want the one instance of acrobat ( which opened the first invoice
) to take the other 9 documents created after the first one. Now what is
happening is that the last document is opened in the acrobat reader where as
the other 9 are lost.











I have a feeling it has something to do with the response
object. I think trying to use the same response/request object is causing the
first 9 docs to be flushed out with the last one only remaining...on right
track ?











Thanks



-Jebus
[EMAIL PROTECTED] wrote: -

To: [EMAIL PROTECTED]
From: Jebus [EMAIL PROTECTED]
Date: 09/15/2004 06:57PM
Subject: Re: FOP opening only 1 PDF when more than one is rendered?

whatyouaredoingiswriting10separatedocumentstothe
outputstream.Ifyouneedallthesedocumentstoshowupasone.you
iTexttomergethemtogether.

OnWed,15Sep200418:02:37-0700,[EMAIL PROTECTED]
[EMAIL PROTECTED]wrote:
IhaveaforloopwhichcallstheXSLTHandlerandthenrendererinloop
tilltheinputcriteriaisexhausted.

Whathappensistheacrobatreaderopensonlythelastpdffilerendered...

Mycodelookslike..whatshappeningisthatonlythelast(10th)invoice
isopeningupinacrobat.IamrunningitunderWEBLOGIC7.0

for(i=0to10invoices)
{

XSLTInputHandlerinput=newXSLTInputHandler(invoicexmlfile,new
File(xslParam));
renderXML(input,response);
}

publicvoidrenderXML(XSLTInputHandlerinput,
HttpServletResponseresponse)throwsServletException
{
try{
ByteArrayOutputStreamout=newByteArrayOutputStream();
response.setContentType(CONTENT_TYPE);
Driverdriver=newDriver();
StringOS=System.getProperty(os.name);
driver.setLogger(log);
driver.setErrorDump(true);
driver.setRenderer(Driver.RENDER_PDF);
driver.setOutputStream(out);
driver.render(input.getParser(),input.getInputSource());

byte[]content=out.toByteArray();
response.setContentLength(content.length);
response.getOutputStream().write(content);
response.getOutputStream().flush();
}catch(Exceptionex){
thrownewServletException(ex);
}

Thanks
Manoj

-
Tounsubscribe,e-mail:[EMAIL PROTECTED]
Foradditionalcommands,e-mail:[EMAIL PROTECTED]



-
Tounsubscribe,e-mail:[EMAIL PROTECTED]
Foradditionalcommands,e-mail:[EMAIL PROTECTED]








RE: FOP Error

2004-09-16 Thread Thiruvallur Rathnavelu, Elango (Cognizant)
Title: Message



Hi,

Possible reasons (I know) to get this error
dialog

1.
Check the root element in the xml and also verify whether the
xsl:templatetag name is correct
2. You
will get this error if the rendering process is stop abruptly before
completion.


regards,

Elango
TR

  -Original Message-From: Jirole, Amar
  [mailto:[EMAIL PROTECTED]Sent: Thursday, September 16, 2004 4:38
  AMTo: '[EMAIL PROTECTED]'Subject: FOP
  Error
  I am
  trying to run fop code very similar to ExampleObj2Pdf attached along with
  documentation but I get following error when i try to open the pdf file
  generated.
  
  
  Any
  idea what might be going wrong? This error is not there in
  FAQ.
  
  Thanks
  -Amar
  



This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information.If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful.  Visit us at http://www.cognizant.comOutlook.bmp

RE: XSLT tag needed

2004-09-16 Thread Pascal Sancho
Hi,
Probably your ns1 namespace is not defined in your XSLT.
 
You sould add appropriate declaration in the stylesheet tag of your XSLT:
xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform 
http://www.w3.org/1999/XSL/Transform  xmlns:ns1=DbGMLPriceBusHdr
 
Pascal


 De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
 Envoyé : jeudi 16 septembre 2004 05:32
 À : [EMAIL PROTECTED]
 Objet : XSLT tag needed 
 
 
 Hi everybody,
  
 I am sending two tags can anybody please tell me how to get the 
 value of it in XSLT.
  
 The tags are:
  
 ns1:BusObjectType 
 xmlns:ns1=DbGMLPriceBusHdrMARKETDATA/RISK/CDS/IPV/ns1:BusObjectType
 ns2:BusObjectOwner 
 xmlns:ns2=DbGMLPriceBusHdrtbd/ns2:BusObjectOwner
  
 If try to give xsl:value-of select=ns1:BusObjectType/
xsl:value-of select=ns2:BusObjectOwner/
 
  
 XALAN parser is giving an error saying :
  
 SystemId Unknown; Line #8; Column #44; XSLT Error 
 (javax.xml.transform.Transform
 erConfigurationException): javax.xml.transform.TransformerException: 
 javax.xml.t
 ransform.TransformerException: Prefix must resolve to a namespace: ns1
  
 Thanks 
 Bhaskar


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



RE: XSLT tag needed

2004-09-16 Thread KS.Bhaskar
Hi Pascal,

Yes, you are right.

Thanks,
Bhaskar 

-Original Message-
From: Pascal Sancho [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 16, 2004 12:35 PM
To: [EMAIL PROTECTED]
Subject: RE: XSLT tag needed 

Hi,
Probably your ns1 namespace is not defined in your XSLT.
 
You sould add appropriate declaration in the stylesheet tag of your XSLT:
xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform 
http://www.w3.org/1999/XSL/Transform  xmlns:ns1=DbGMLPriceBusHdr
 
Pascal


 De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
 Envoyé : jeudi 16 septembre 2004 05:32
 À : [EMAIL PROTECTED]
 Objet : XSLT tag needed 
 
 
 Hi everybody,
  
 I am sending two tags can anybody please tell me how to get the 
 value of it in XSLT.
  
 The tags are:
  
 ns1:BusObjectType 
 xmlns:ns1=DbGMLPriceBusHdrMARKETDATA/RISK/CDS/IPV/ns1:BusObjectType
 ns2:BusObjectOwner 
 xmlns:ns2=DbGMLPriceBusHdrtbd/ns2:BusObjectOwner
  
 If try to give xsl:value-of select=ns1:BusObjectType/
xsl:value-of select=ns2:BusObjectOwner/
 
  
 XALAN parser is giving an error saying :
  
 SystemId Unknown; Line #8; Column #44; XSLT Error 
 (javax.xml.transform.Transform
 erConfigurationException): javax.xml.transform.TransformerException: 
 javax.xml.t
 ransform.TransformerException: Prefix must resolve to a namespace: ns1
  
 Thanks 
 Bhaskar


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





DISCLAIMER:
This message contains privileged and confidential information and is intended 
only for the individual named.If you are not the intended recipient you should 
not disseminate,distribute,store,print, copy or deliver this message.Please 
notify the sender immediately by e-mail if you have received this e-mail by 
mistake and delete this e-mail from your system.E-mail transmission cannot be 
guaranteed to be secure or error-free as information could be 
intercepted,corrupted,lost,destroyed,arrive late or incomplete or contain 
viruses.The sender therefore does not accept liability for any errors or 
omissions in the contents of this message which arise as a result of e-mail 
transmission. If verification is required please request a hard-copy version.

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



Checking for EMPTY tag

2004-09-16 Thread KS.Bhaskar








Hi everybody,




I have the following tags.




stdudent


nameBhaskar/name


age25/age


collegeMSRIT/college


/student




stdudent


nameAppu/name


age/age


collegeRVCE/college


/student




Since age tag of second is empty. I want display the empty tag as NA.


Please help how to handle this.




Output what I need is:




Bhaskar:25:MSRIT


Appu:NA:RVCE




 What it did is it put the content of name, age,
college tags to variables n1, n2, n3.

 xsl:variable name=n1 select=name/

 xsl:variable name=n2 select=age/

 xsl:variable name=n3 select=college/



 Tell me now how to check for empty. If empty I
have replace it with NA. 



 



Thanks in advance.



Bye,

Bhaskar







DISCLAIMER:This message contains privileged and confidential information and is intended only for the individual named.If you are not the intended recipient you should not disseminate,distribute,store,print, copy or deliver this message.Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system.E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted,corrupted,lost,destroyed,arrive late or incomplete or contain viruses.The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. 




RE: Checking for EMPTY tag

2004-09-16 Thread Dennis Myrén








You may do something like(not tested):

xslt:variable name=n2

    xslt:choose

    xslt:when
test=0 = string-length(age)NA/xslt:when

    xslt:otherwisexslt:value-of
select=age //xslt:otherwise

    /xslt:choose

xslt:variable



Note that n2 will contain a string rather
than an element reference.





Regards,

Dennis JD Myrén

Developer

Oslo Kodebureau

Tel: (+47) 98
00 11 92

Mail: [EMAIL PROTECTED]

Web: www.oslokb.no











From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: 16. september 2004 08:55
To: [EMAIL PROTECTED]
Subject: Checking for EMPTY tag





Hi everybody,




I have the following tags.




stdudent


nameBhaskar/name


age25/age


collegeMSRIT/college


/student




stdudent


nameAppu/name


age/age


collegeRVCE/college


/student




Since age tag of second is empty. I want display the empty tag as NA.


Please help how to handle this.




Output what I need is:




Bhaskar:25:MSRIT


Appu:NA:RVCE





What it did is it put the content of name, age, college tags to variables n1,
n2, n3.


xsl:variable name=n1 select=name/


xsl:variable name=n2 select=age/


xsl:variable name=n3 select=college/




Tell me now how to check for empty. If empty I have replace it with NA. 








Thanks in advance.



Bye,

Bhaskar





DISCLAIMER:
This message contains privileged and confidential information and is intended
only for the individual named.If you are not the intended recipient you should
not disseminate,distribute,store,print, copy or deliver this message.Please notify
the sender immediately by e-mail if you have received this e-mail by mistake
and delete this e-mail from your system.E-mail transmission cannot be
guaranteed to be secure or error-free as information could be
intercepted,corrupted,lost,destroyed,arrive late or incomplete or contain
viruses.The sender therefore does not accept liability for any errors or
omissions in the contents of this message which arise as a result of e-mail
transmission. If verification is required please request a hard-copy version. 








Equivalent of br in xsl

2004-09-16 Thread KS.Bhaskar








Hi everybody,



 I need xsl tag which is Equivalent br in
xsl. Since I am generating output in text format I need equivalent of new line
character \n.



Regards,

Bhaskar



DISCLAIMER:This message contains privileged and confidential information and is intended only for the individual named.If you are not the intended recipient you should not disseminate,distribute,store,print, copy or deliver this message.Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system.E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted,corrupted,lost,destroyed,arrive late or incomplete or contain viruses.The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. 




keep with next(Attribute)

2004-09-16 Thread Eclipse



Hello Folks,

may i ask, how do u solve the problem with 

keep with next?
i mean when sometimes only one line shines in the 
next page.
or only the title shines in one page and the 
text(paragraph) in the next?

Regards.

sako.


Re: keep with next(Attribute)

2004-09-16 Thread Paul Vinkenoog
Hi Sako,

 may i ask, how do u solve the problem with keep with next?
 i mean when sometimes only one line shines in the next page.  or
 only the title shines in one page and the text(paragraph) in the
 next?

keep-with-next is only implemented for table rows, so one solution is
to create a table, put the header in the first row and what follows in
the next row(s). Don't forget to set keep-with-next on the first row
;-)

Depending on the kind of document and how you generate the .fo, this
may be difficult to implement. If this is the case and there are not
too many occurences of widowed headers, I usually hack the .fo: find
the first trouble spot and add a break-before='page' attribute.
Rebuild the PDF, find the next spot etc. Of course this is only
feasible if your publishing rate is low. And you have to redo the
handwork everytime your sources change :-(

There are other solutions; a short time ago this subject was discussed
extensively on a list, but I don't remember which. Maybe this one.


Greetings,
Paul Vinkenoog


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



RE: Equivalent of br in xsl

2004-09-16 Thread cknell
xsl:text
/xsl:text
-- 
Charles Knell
[EMAIL PROTECTED] - email



-Original Message-
From: [EMAIL PROTECTED]
Sent: Thu, 16 Sep 2004 15:10:31 +0530
To:   [EMAIL PROTECTED];[EMAIL PROTECTED]
Subject:  Equivalent of br in xsl

Hi everybody,

 

I need xsl tag which is Equivalent br in xsl. Since I am
generating output in text format I need equivalent of new line character
\n.

 

Regards,

Bhaskar



DISCLAIMER:
This message contains privileged and confidential information and is intended 
only for the individual named.If you are not the intended recipient you should 
not disseminate,distribute,store,print, copy or deliver this message.Please 
notify the sender immediately by e-mail if you have received this e-mail by 
mistake and delete this e-mail from your system.E-mail transmission cannot be 
guaranteed to be secure or error-free as information could be 
intercepted,corrupted,lost,destroyed,arrive late or incomplete or contain 
viruses.The sender therefore does not accept liability for any errors or 
omissions in the contents of this message which arise as a result of e-mail 
transmission. If verification is required please request a hard-copy version.










Hi everybody,



 I need xsl tag which is Equivalent br in
xsl. Since I am generating output in text format I need equivalent of new line
character \n.



Regards,

Bhaskar



DISCLAIMER:This message contains privileged and confidential information and is intended only for the individual named.If you are not the intended recipient you should not disseminate,distribute,store,print, copy or deliver this message.Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system.E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted,corrupted,lost,destroyed,arrive late or incomplete or contain viruses.The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. 


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

Re: keep with next(Attribute)

2004-09-16 Thread Eclipse
thank you for answer.
here is my situation.
1. tables are on solution, but really not good for me. i know about it.
2. the text changes relatively. so i cant find the break-before='page'
attribute.
3. my publishing rate is hight :(

 maybe someone of you knows another xml prossessor tool, which is
acceptibale (i mean $) and solves my problem.

i dont want to say fop is bad, i really want to support fop, but i have the
problems and i have to solve it.
according to, i dont know weather in the future this problem will be solved
in fop.

thanks in advance.
Regards.

- Original Message - 
From: Paul Vinkenoog [EMAIL PROTECTED]
To: FOP [EMAIL PROTECTED]
Sent: Thursday, September 16, 2004 1:01 PM
Subject: Re: keep with next(Attribute)


 Hi Sako,

  may i ask, how do u solve the problem with keep with next?
  i mean when sometimes only one line shines in the next page.  or
  only the title shines in one page and the text(paragraph) in the
  next?

 keep-with-next is only implemented for table rows, so one solution is
 to create a table, put the header in the first row and what follows in
 the next row(s). Don't forget to set keep-with-next on the first row
 ;-)

 Depending on the kind of document and how you generate the .fo, this
 may be difficult to implement. If this is the case and there are not
 too many occurences of widowed headers, I usually hack the .fo: find
 the first trouble spot and add a break-before='page' attribute.
 Rebuild the PDF, find the next spot etc. Of course this is only
 feasible if your publishing rate is low. And you have to redo the
 handwork everytime your sources change :-(

 There are other solutions; a short time ago this subject was discussed
 extensively on a list, but I don't remember which. Maybe this one.


 Greetings,
 Paul Vinkenoog


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




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



RE: keep with next(Attribute)

2004-09-16 Thread Rob Stote
Title: RE: keep with next(Attribute)





You might want to look at XEP www.renderx.com 


-Original Message-
From: Eclipse [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, September 16, 2004 8:15 AM
To: [EMAIL PROTECTED]
Subject: Re: keep with next(Attribute)


thank you for answer.
here is my situation.
1. tables are on solution, but really not good for me. i know about it.
2. the text changes relatively. so i cant find the break-before='page'
attribute.
3. my publishing rate is hight :(


maybe someone of you knows another xml prossessor tool, which is acceptibale (i mean $) and solves my problem.


i dont want to say fop is bad, i really want to support fop, but i have the problems and i have to solve it.
according to, i dont know weather in the future this problem will be solved in fop.


thanks in advance.
Regards.


- Original Message -
From: Paul Vinkenoog [EMAIL PROTECTED]
To: FOP [EMAIL PROTECTED]
Sent: Thursday, September 16, 2004 1:01 PM
Subject: Re: keep with next(Attribute)



 Hi Sako,

  may i ask, how do u solve the problem with keep with next?
  i mean when sometimes only one line shines in the next page. or
  only the title shines in one page and the text(paragraph) in the
  next?

 keep-with-next is only implemented for table rows, so one solution is
 to create a table, put the header in the first row and what follows in
 the next row(s). Don't forget to set keep-with-next on the first row
 ;-)

 Depending on the kind of document and how you generate the .fo, this
 may be difficult to implement. If this is the case and there are not
 too many occurences of widowed headers, I usually hack the .fo: find
 the first trouble spot and add a break-before='page' attribute.
 Rebuild the PDF, find the next spot etc. Of course this is only
 feasible if your publishing rate is low. And you have to redo the
 handwork everytime your sources change :-(

 There are other solutions; a short time ago this subject was discussed
 extensively on a list, but I don't remember which. Maybe this one.


 Greetings,
 Paul Vinkenoog


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





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





[Image embedding] fo:external-graphic - fop support to uri data s cheme

2004-09-16 Thread Chizzolini Stefano
Hello folks,

I'm wondering whether FOP supports real XSL-FO image embedding (not the
referencial embedding described in the images.fo example).

I say: can FOP properly render a fo:external-graphic element whose src
attribute contains an inline binary image defined accordingly to the uri
data scheme (RFC 2397)?

Regards,

Stefano Chizzolini

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



fo:page-sequence-master question

2004-09-16 Thread news
Title: RE: keep with next(Attribute)



Hello 
List,

How do 
I set up a rule to define the following:1. Layout for the first page.2. 
Layout for all following pages.3. Layout for the last page.This is what 
I made already by my self. Here it becomes a bit difficult, I 
guess.

4. 
When, and only when there is more than one page in the output pdf, I want to 
have a special layout.

Rule 4 
is to write a special note an the bottom of each page, saying that there are 
more pages coming.How can this proglem be solved?

Thanks 
a lot!