page orientation

2001-12-04 Thread Isana Luzia Seabra Campos

Hi,

How can I generate a page at "landscape" orientation format in pdf file? Is it
possible?
I've tried

and

but  I got an warning from fop: reference-orientation is not implemented yet.

Thanks for any help!
Isana




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




RE: page orientation

2001-12-04 Thread Smith, Paul

You can (obviously) achieve the same effect by swaping the values for
page-width and page-height in the page-master. I don't know if there is a
*proper* solution?

-- Paul

> -Original Message-
> From: Isana Luzia Seabra Campos [mailto:[EMAIL PROTECTED]]
> Sent: 04 December 2001 11:30
> To: [EMAIL PROTECTED]
> Subject: page orientation
> 
> 
> Hi,
> 
> How can I generate a page at "landscape" orientation format 
> in pdf file? Is it
> possible?
> I've tried
> 
> and
> 
> but  I got an warning from fop: reference-orientation is not 
> implemented yet.
> 
> Thanks for any help!
> Isana


***
DISCLAIMER: The information contained in this email
 is confidential and is intended solely for the use of the
 named addressee.  Access, copying or re-use of the
 information in it by any other person is not authorised.



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




RE: page orientation

2001-12-04 Thread Smith, Paul R

I swapped the page width and height...

I am not sure if this is the correct way.

- Paul Smith

-Original Message-
From: Isana Luzia Seabra Campos [mailto:[EMAIL PROTECTED]]
Sent: 04 December 2001 11:30
To: [EMAIL PROTECTED]
Subject: page orientation


Hi,

How can I generate a page at "landscape" orientation format in pdf file? Is
it
possible?
I've tried

and

but  I got an warning from fop: reference-orientation is not implemented
yet.

Thanks for any help!
Isana




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

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




OutOfMemoryError in apache fop/cocoon

2001-12-04 Thread Barbara Slupik

Hello

I am using Apache fop-0_20 and Cocoon 2. I have OutOfMemoryError in fop for
a large
document. When I run it from the Windows command line I added:

java -Xms64M -Xmx320M 

and this fixed the memory problem.

How to do the same in cocoon?

Barbara Slupik


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




AW: OutOfMemoryError in apache fop/cocoon

2001-12-04 Thread Beer, Christian

Hi Barbara!

Well that's a cocoon question. Please ask that in a cocoon list.

Greets
Christian Beer

-Ursprüngliche Nachricht-
Von: Barbara Slupik [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 4. Dezember 2001 14:18
An: [EMAIL PROTECTED]
Betreff: OutOfMemoryError in apache fop/cocoon


Hello

I am using Apache fop-0_20 and Cocoon 2. I have OutOfMemoryError in fop for
a large
document. When I run it from the Windows command line I added:

java -Xms64M -Xmx320M 

and this fixed the memory problem.

How to do the same in cocoon?

Barbara Slupik


-
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: Page Breaks

2001-12-04 Thread Jim Urban

How would I code my XSL to scan a text element for form feeds and insert a
"" and the corresponding "" at the
correct places?

Jim

-Original Message-
From: Vladimir Sneblic [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 03, 2001 4:13 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Page Breaks


Try using break-before="page" property of fo:block something like:

 The text to appear on the next
page

I think you can leave it empty (i.e. a block with no content), and use it
purely as a page break mechanism.

Have fun,

Vlad



 -Original Message-
From:   Jim Urban [mailto:[EMAIL PROTECTED]]
Sent:   Tuesday, 4 December 2001 11:07 a.m.
To: FOP Dev
Subject:Page Breaks

I have a servlet which dynamically generates XML which is
then translated into FO and ran through FOP to generate PDFs.  What can I
embed (like a "\f") in the XML text that will cause FOP to automatically
start a new page?

Thanks,

Jim Urban
Product Manager
Netsteps Inc.
Suite 505E
1 Pierce Pl.
Itasca, IL  60143
Voice:  (630) 250-3045 x2164
Fax:  (630) 250-3046
 << File: ATT70001.txt >>

-
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: Page Breaks

2001-12-04 Thread Jim Urban

I'm using XSLT to translate XML into FO.  The field containing the form
feeds is a text element.  I need to be able to do this using XSL.

Jim

-Original Message-
From: Mike Akerman [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 03, 2001 4:18 PM
To: FOP Dev
Subject: Re: Page Breaks



On Mon, 3 Dec 2001, Jim Urban wrote:

> I have a servlet which dynamically generates XML which is then translated
> into FO and ran through FOP to generate PDFs.  What can I embed (like a
> "\f") in the XML text that will cause FOP to automatically start a new
page?
>
> Thanks,
>
> Jim Urban

I've translated "\f" into:






If thats not sufficently clear, I could provide an example plain-text to
xsl-fo conversion program I've written.

Michael Akerman


-

[EMAIL PROTECTED]Information Services
(501) 575-5870  University of Arkansas
http://www.uark.edu/~mike

-




-
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: OutOfMemoryError in apache fop/cocoon

2001-12-04 Thread Marcus Crafter

On Tue, Dec 04, 2001 at 01:17:32PM -, Barbara Slupik wrote:
 
> I am using Apache fop-0_20 and Cocoon 2. I have OutOfMemoryError in fop for
> a large
> document. When I run it from the Windows command line I added:
> 
> java -Xms64M -Xmx320M 
> 
> and this fixed the memory problem.
> 
> How to do the same in cocoon?

This needs to be set on your servlet container. For example, if
you are using Tomcat 3.2.x, set the TOMCAT_OPTS environment variable
or modify the $TOMCAT_HOME/bin/tomcat.sh script.

Hope this helps.

Cheers,

Marcus

-- 
.
 ,,$,  Marcus Crafter
;$'  ':Computer Systems Engineer
$: :   Managesoft GmbH
 $   o_)$$$:   82-84 Mainzer Landstrasse
 ;$,_/\ &&:'   60327 Frankfurt Germany
   ' /( &&&
   \_' Email : [EMAIL PROTECTED]
  .Business Hours : +49 69 9757 200
&&&:

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




Newbie - controlling table alignment

2001-12-04 Thread John M. Corro

I've seen several posts in various archives asking the same question, but
haven't been able to find an answer yet - how do you control aligning of an
entire table (not the individual cell's contents)?

ie in HTML something like





I've attempted using the "text-align" tag, but didn't seem to work.


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




Re: Page Breaks

2001-12-04 Thread Arved Sandstrom

Not everything needs to be XSLT. In this case you could preprocess with a
Perl one-liner that would be blazingly fast. Something like:

perl -i.bak -pe 's!\x0C!!g;' XMLFILE

(Use double quotes on a Windows command-line). Then you'll have 
elements that you can act on in your XSLT.

Regards,
Arved Sandstrom

- Original Message -
From: "Jim Urban" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 04, 2001 9:25 AM
Subject: RE: Page Breaks


> I'm using XSLT to translate XML into FO.  The field containing the form
> feeds is a text element.  I need to be able to do this using XSL.
>
> Jim
>
> -Original Message-
> From: Mike Akerman [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 03, 2001 4:18 PM
> To: FOP Dev
> Subject: Re: Page Breaks
>
>
>
> On Mon, 3 Dec 2001, Jim Urban wrote:
>
> > I have a servlet which dynamically generates XML which is then
translated
> > into FO and ran through FOP to generate PDFs.  What can I embed (like a
> > "\f") in the XML text that will cause FOP to automatically start a new
> page?
> >
> > Thanks,
> >
> > Jim Urban
>
> I've translated "\f" into:
>
> 
> 
> 
> 
>
> If thats not sufficently clear, I could provide an example plain-text to
> xsl-fo conversion program I've written.
>
> Michael Akerman
>
>
> -
>
> [EMAIL PROTECTED] Information Services
> (501) 575-5870 University of Arkansas
> http://www.uark.edu/~mike
>
> -
>
>
>
>
> -
> 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]




RE: Page Breaks

2001-12-04 Thread Jim Urban

Perl?  We are Java Servlet web based application.  We don't even own a Perl
interpreter (thank God!).  :)

We are in the healthcare industry and data integrety is a major issue.  We
can not change the content of a client's data from within our code.  The
only way to modify the content of our client's data is through XSL which is
maintained by the client.  So as you see, we do need an XSL / FO sollution.

Jim

-Original Message-
From: Arved Sandstrom [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 04, 2001 8:06 AM
To: [EMAIL PROTECTED]
Subject: Re: Page Breaks


Not everything needs to be XSLT. In this case you could preprocess with a
Perl one-liner that would be blazingly fast. Something like:

perl -i.bak -pe 's!\x0C!!g;' XMLFILE

(Use double quotes on a Windows command-line). Then you'll have 
elements that you can act on in your XSLT.

Regards,
Arved Sandstrom

- Original Message -
From: "Jim Urban" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 04, 2001 9:25 AM
Subject: RE: Page Breaks


> I'm using XSLT to translate XML into FO.  The field containing the form
> feeds is a text element.  I need to be able to do this using XSL.
>
> Jim
>
> -Original Message-
> From: Mike Akerman [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 03, 2001 4:18 PM
> To: FOP Dev
> Subject: Re: Page Breaks
>
>
>
> On Mon, 3 Dec 2001, Jim Urban wrote:
>
> > I have a servlet which dynamically generates XML which is then
translated
> > into FO and ran through FOP to generate PDFs.  What can I embed (like a
> > "\f") in the XML text that will cause FOP to automatically start a new
> page?
> >
> > Thanks,
> >
> > Jim Urban
>
> I've translated "\f" into:
>
> 
> 
> 
> 
>
> If thats not sufficently clear, I could provide an example plain-text to
> xsl-fo conversion program I've written.
>
> Michael Akerman
>
>
> -
>
> [EMAIL PROTECTED] Information Services
> (501) 575-5870 University of Arkansas
> http://www.uark.edu/~mike
>
> -
>
>
>
>
> -
> 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]



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




Re: page orientation

2001-12-04 Thread Isana Luzia Seabra Campos


Hi Paul,
this "way" works very well!

Thanks a lot.
Isana

"Smith, Paul R" wrote:

> I swapped the page width and height...
>
> I am not sure if this is the correct way.
>
> - Paul Smith
>
> -Original Message-
> From: Isana Luzia Seabra Campos [mailto:[EMAIL PROTECTED]]
> Sent: 04 December 2001 11:30
> To: [EMAIL PROTECTED]
> Subject: page orientation
>
> Hi,
>
> How can I generate a page at "landscape" orientation format in pdf file? Is
> it
> possible?
> I've tried
> 
> and
> 
> but  I got an warning from fop: reference-orientation is not implemented
> yet.
>
> Thanks for any help!
> Isana
>
> -
> 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]




Re: Page Breaks

2001-12-04 Thread Arved Sandstrom

I hear you saying that modification of XML data with XSL is not really
modification at all, but modification with Perl is bad. Seems somewhat
unusual.

Sorry you've had problems with scripting languages. I happen to be a
professional software developer, and despite some current disillusionment
with Java hype, I'll use anything that works. Past 2 years it was all J2EE
and XML; I am working on a contract right now that is MS SQL Server, VC++
and ASPs. I could care less - the day I start imposing my language
preferences on a solution is the day I should look for other work.

And in fact I did not understand your argument.

Regards,
AHS

- Original Message -
From: "Jim Urban" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 04, 2001 10:33 AM
Subject: RE: Page Breaks


> Perl?  We are Java Servlet web based application.  We don't even own a
Perl
> interpreter (thank God!).  :)
>
> We are in the healthcare industry and data integrety is a major issue.  We
> can not change the content of a client's data from within our code.  The
> only way to modify the content of our client's data is through XSL which
is
> maintained by the client.  So as you see, we do need an XSL / FO
sollution.
>
> Jim
>
> -Original Message-
> From: Arved Sandstrom [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 04, 2001 8:06 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Page Breaks
>
>
> Not everything needs to be XSLT. In this case you could preprocess with a
> Perl one-liner that would be blazingly fast. Something like:
>
> perl -i.bak -pe 's!\x0C!!g;' XMLFILE
>
> (Use double quotes on a Windows command-line). Then you'll have 
> elements that you can act on in your XSLT.
>
> Regards,
> Arved Sandstrom
>
> - Original Message -
> From: "Jim Urban" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, December 04, 2001 9:25 AM
> Subject: RE: Page Breaks
>
>
> > I'm using XSLT to translate XML into FO.  The field containing the form
> > feeds is a text element.  I need to be able to do this using XSL.
> >
> > Jim
> >
> > -Original Message-
> > From: Mike Akerman [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, December 03, 2001 4:18 PM
> > To: FOP Dev
> > Subject: Re: Page Breaks
> >
> >
> >
> > On Mon, 3 Dec 2001, Jim Urban wrote:
> >
> > > I have a servlet which dynamically generates XML which is then
> translated
> > > into FO and ran through FOP to generate PDFs.  What can I embed (like
a
> > > "\f") in the XML text that will cause FOP to automatically start a new
> > page?
> > >
> > > Thanks,
> > >
> > > Jim Urban
> >
> > I've translated "\f" into:
> >
> > 
> > 
> > 
> > 
> >
> > If thats not sufficently clear, I could provide an example plain-text to
> > xsl-fo conversion program I've written.
> >
> > Michael Akerman
> >
> >
> > -
> >
> > [EMAIL PROTECTED] Information Services
> > (501) 575-5870 University of Arkansas
> > http://www.uark.edu/~mike
> >
> > -
> >
> >
> >
> >
> > -
> > 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]
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>


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




[PROPOSAL] FormattingResults

2001-12-04 Thread Jeremias Maerki

Hi foppers

I did something I think is useful for some of us: It's basically a
couple of new classes to report the results of a FO transformation.
FormattingResults reports the total number of pages that have been
generated and has a list of PageSequenceResult objects that return the
number of pages generated within a particular page-sequence.
PageSequenceResult also returns the page-sequence's "id" attribute, so a
calling application can establish a context between the page-sequence
and a logical document. This is especially handy if you're rendering
multiple documents within one XML-file that are separated into multiple
page-sequences.

Attached is a ZIP-File with a diff and the two new classes. The diff is
against the tag 'fop-0_20_2-maintain'. I think this should be brought
over to the main branch at some time. The two new classes go into the
package org.apache.fop.apps.

As a little side-effect the patch includes a little modification to the
render() methods in Driver.java which removes some duplicate code.

Tell me what you think! If someone thinks there is a better way of doing
this, I'm open to suggestions.


Cheers,
Jeremias Märki

mailto:[EMAIL PROTECTED]

OUTLINE AG
Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern
Fon +41 (41) 317 2020 - Fax +41 (41) 317 2029
Internet http://www.outline.ch



FormattingResults.zip
Description: Zip compressed data

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


RE: Page Breaks

2001-12-04 Thread Jim Urban

Our application is a web application implemented in Java Servlets.  To use
the perl approach, we would have to call a perl script from within our
servlet, passing the data in memory to the script.  The script would then
have to modify the data and return it in memory to the servlet.  The data
can NOT be written to a file without encrypting it.

Using XSLT does not change the data.  It simply formats the data for
display.  This formatting is controlled by the client, not our Java code.
Our servlet has the ability to send back the raw XML so the client can see
the "raw" unformatted data for verification purposes, I must maintain this
option.

> I'll use anything that works.
> the day I start imposing my language preferences on a solution is the
> day I should look for other work.
As a product development manager, I can not let each developer (myself
included) "use anything that works".  I manage a TEAM of developers.  We
build and maintain professional software products that are built on a common
frame work, language and set of tools.  If you could not conform to our way
of doing things I would "ask" you to "look for other work".

Jim

-Original Message-
From: Arved Sandstrom [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 04, 2001 9:01 AM
To: [EMAIL PROTECTED]
Subject: Re: Page Breaks


I hear you saying that modification of XML data with XSL is not really
modification at all, but modification with Perl is bad. Seems somewhat
unusual.

Sorry you've had problems with scripting languages. I happen to be a
professional software developer, and despite some current disillusionment
with Java hype, I'll use anything that works. Past 2 years it was all J2EE
and XML; I am working on a contract right now that is MS SQL Server, VC++
and ASPs. I could care less - the day I start imposing my language
preferences on a solution is the day I should look for other work.

And in fact I did not understand your argument.

Regards,
AHS

- Original Message -
From: "Jim Urban" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 04, 2001 10:33 AM
Subject: RE: Page Breaks


> Perl?  We are Java Servlet web based application.  We don't even own a
Perl
> interpreter (thank God!).  :)
>
> We are in the healthcare industry and data integrety is a major issue.  We
> can not change the content of a client's data from within our code.  The
> only way to modify the content of our client's data is through XSL which
is
> maintained by the client.  So as you see, we do need an XSL / FO
sollution.
>
> Jim
>
> -Original Message-
> From: Arved Sandstrom [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 04, 2001 8:06 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Page Breaks
>
>
> Not everything needs to be XSLT. In this case you could preprocess with a
> Perl one-liner that would be blazingly fast. Something like:
>
> perl -i.bak -pe 's!\x0C!!g;' XMLFILE
>
> (Use double quotes on a Windows command-line). Then you'll have 
> elements that you can act on in your XSLT.
>
> Regards,
> Arved Sandstrom
>
> - Original Message -
> From: "Jim Urban" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, December 04, 2001 9:25 AM
> Subject: RE: Page Breaks
>
>
> > I'm using XSLT to translate XML into FO.  The field containing the form
> > feeds is a text element.  I need to be able to do this using XSL.
> >
> > Jim
> >
> > -Original Message-
> > From: Mike Akerman [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, December 03, 2001 4:18 PM
> > To: FOP Dev
> > Subject: Re: Page Breaks
> >
> >
> >
> > On Mon, 3 Dec 2001, Jim Urban wrote:
> >
> > > I have a servlet which dynamically generates XML which is then
> translated
> > > into FO and ran through FOP to generate PDFs.  What can I embed (like
a
> > > "\f") in the XML text that will cause FOP to automatically start a new
> > page?
> > >
> > > Thanks,
> > >
> > > Jim Urban
> >
> > I've translated "\f" into:
> >
> > 
> > 
> > 
> > 
> >
> > If thats not sufficently clear, I could provide an example plain-text to
> > xsl-fo conversion program I've written.
> >
> > Michael Akerman
> >
> >
> > -
> >
> > [EMAIL PROTECTED] Information Services
> > (501) 575-5870 University of Arkansas
> > http://www.uark.edu/~mike
> >
> > -
> >
> >
> >
> >
> > -
> > 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]
>
>
>
> ---

Re: Page Breaks

2001-12-04 Thread James Richardson



Jim Urban wrote:

> 

> Using XSLT does not change the data.  It simply formats the data for
> display.  



not that this relates to FOP, but I think XSLT, as its turing complete, 
cannot be said to change any data any less than perl, or 

James



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




Re: Page Breaks

2001-12-04 Thread Arved Sandstrom

Not to start a war here...let me put it this way. The fact that my initial
suggestion referenced Perl is actually irrelevant. Your servlet can do the
equivalent. After all, at the point where you are presenting XML to the XSLT
processor it is plaintext, right? So we are talking about inserting one
extra transformation step at this point...doesn't even have to use regular
expressions, and of course it can be written in Java. Nothing needs to be
written out to an intermediate file at all.

What I don't understand is an insistence that the only _modification_ and
_transformation_ which can be done with the data is through XSLT. And make
no mistake, XSLT "formatting for display", as you put it, _is_
transformation and modification. How do you figure that XSLT does not allow
you to change the data? The original data isn't what we are talking about in
any case - even my Perl one-liner did a backup.

As far as the comment about not letting developers use whatever technology
they like, hey, that's a given. Every project has a point where the choices
like that are made. Here's what I sense - you guys have a strong commitment
to data integrity and security, and I respect that. But you mistakenly
assume that use of XSLT is somehow going to avoid data integrity problems,
and I dispute that. _Correct_ XSLT code will avoid that problem, just as
_correct_ use of another approach would also (I use the word "code"
advisedly, because XSLT is code; no different from Perl, actually).

Regards,
Arved Sandstrom

- Original Message -
From: "Jim Urban" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 04, 2001 11:54 AM
Subject: RE: Page Breaks


> Our application is a web application implemented in Java Servlets.  To use
> the perl approach, we would have to call a perl script from within our
> servlet, passing the data in memory to the script.  The script would then
> have to modify the data and return it in memory to the servlet.  The data
> can NOT be written to a file without encrypting it.
>
> Using XSLT does not change the data.  It simply formats the data for
> display.  This formatting is controlled by the client, not our Java code.
> Our servlet has the ability to send back the raw XML so the client can see
> the "raw" unformatted data for verification purposes, I must maintain this
> option.
>
> > I'll use anything that works.
> > the day I start imposing my language preferences on a solution is the
> > day I should look for other work.
> As a product development manager, I can not let each developer (myself
> included) "use anything that works".  I manage a TEAM of developers.  We
> build and maintain professional software products that are built on a
common
> frame work, language and set of tools.  If you could not conform to our
way
> of doing things I would "ask" you to "look for other work".
>
> Jim
>
> -Original Message-
> From: Arved Sandstrom [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 04, 2001 9:01 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Page Breaks
>
>
> I hear you saying that modification of XML data with XSL is not really
> modification at all, but modification with Perl is bad. Seems somewhat
> unusual.
>
> Sorry you've had problems with scripting languages. I happen to be a
> professional software developer, and despite some current disillusionment
> with Java hype, I'll use anything that works. Past 2 years it was all J2EE
> and XML; I am working on a contract right now that is MS SQL Server, VC++
> and ASPs. I could care less - the day I start imposing my language
> preferences on a solution is the day I should look for other work.
>
> And in fact I did not understand your argument.
>
> Regards,
> AHS
>
> - Original Message -
> From: "Jim Urban" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, December 04, 2001 10:33 AM
> Subject: RE: Page Breaks
>
>
> > Perl?  We are Java Servlet web based application.  We don't even own a
> Perl
> > interpreter (thank God!).  :)
> >
> > We are in the healthcare industry and data integrety is a major issue.
We
> > can not change the content of a client's data from within our code.  The
> > only way to modify the content of our client's data is through XSL which
> is
> > maintained by the client.  So as you see, we do need an XSL / FO
> sollution.
> >
> > Jim
> >
> > -Original Message-
> > From: Arved Sandstrom [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, December 04, 2001 8:06 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: Page Breaks
> >
> >
> > Not everything needs to be XSLT. In this case you could preprocess with
a
> > Perl one-liner that would be blazingly fast. Something like:
> >
> > perl -i.bak -pe 's!\x0C!!g;' XMLFILE
> >
> > (Use double quotes on a Windows command-line). Then you'll have 
> > elements that you can act on in your XSLT.
> >
> > Regards,
> > Arved Sandstrom
> >
> > - Original Message -
> > From: "Jim Urban" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent:

RE: Page Breaks

2001-12-04 Thread Jim Urban

I agree with what you are saying.  Here is the rule that I may not have
explicitly stated:
The data in our database comes from several legacy system.  This data can
not be modified by anything that our client does not directly control.  Our
applications are of the highest level of mission critical.  They are used by
physicians to determine how to treat patients and errors in the data we
present can have life or death consequences.

XSLT is under the control of our client.  The client can edit the XSL file.
The client can also request our servlets to return the raw XML for comparing
to the database to insure the data is 100% correct.  Any modifications
(however small) done by our Java code is outside our client's control.  That
is, our client does not have our Java source and can not make changes to it.
It all comes down to our having to meet a vary huge and strict set of
federal laws regarding data integrity and security called HIPPA.

I hope this explains my situation.  Now lets move on.  :)

Jim

-Original Message-
From: Arved Sandstrom [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 04, 2001 10:33 AM
To: [EMAIL PROTECTED]
Subject: Re: Page Breaks


Not to start a war here...let me put it this way. The fact that my initial
suggestion referenced Perl is actually irrelevant. Your servlet can do the
equivalent. After all, at the point where you are presenting XML to the XSLT
processor it is plaintext, right? So we are talking about inserting one
extra transformation step at this point...doesn't even have to use regular
expressions, and of course it can be written in Java. Nothing needs to be
written out to an intermediate file at all.

What I don't understand is an insistence that the only _modification_ and
_transformation_ which can be done with the data is through XSLT. And make
no mistake, XSLT "formatting for display", as you put it, _is_
transformation and modification. How do you figure that XSLT does not allow
you to change the data? The original data isn't what we are talking about in
any case - even my Perl one-liner did a backup.

As far as the comment about not letting developers use whatever technology
they like, hey, that's a given. Every project has a point where the choices
like that are made. Here's what I sense - you guys have a strong commitment
to data integrity and security, and I respect that. But you mistakenly
assume that use of XSLT is somehow going to avoid data integrity problems,
and I dispute that. _Correct_ XSLT code will avoid that problem, just as
_correct_ use of another approach would also (I use the word "code"
advisedly, because XSLT is code; no different from Perl, actually).

Regards,
Arved Sandstrom

- Original Message -
From: "Jim Urban" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 04, 2001 11:54 AM
Subject: RE: Page Breaks


> Our application is a web application implemented in Java Servlets.  To use
> the perl approach, we would have to call a perl script from within our
> servlet, passing the data in memory to the script.  The script would then
> have to modify the data and return it in memory to the servlet.  The data
> can NOT be written to a file without encrypting it.
>
> Using XSLT does not change the data.  It simply formats the data for
> display.  This formatting is controlled by the client, not our Java code.
> Our servlet has the ability to send back the raw XML so the client can see
> the "raw" unformatted data for verification purposes, I must maintain this
> option.
>
> > I'll use anything that works.
> > the day I start imposing my language preferences on a solution is the
> > day I should look for other work.
> As a product development manager, I can not let each developer (myself
> included) "use anything that works".  I manage a TEAM of developers.  We
> build and maintain professional software products that are built on a
common
> frame work, language and set of tools.  If you could not conform to our
way
> of doing things I would "ask" you to "look for other work".
>
> Jim
>
> -Original Message-
> From: Arved Sandstrom [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 04, 2001 9:01 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Page Breaks
>
>
> I hear you saying that modification of XML data with XSL is not really
> modification at all, but modification with Perl is bad. Seems somewhat
> unusual.
>
> Sorry you've had problems with scripting languages. I happen to be a
> professional software developer, and despite some current disillusionment
> with Java hype, I'll use anything that works. Past 2 years it was all J2EE
> and XML; I am working on a contract right now that is MS SQL Server, VC++
> and ASPs. I could care less - the day I start imposing my language
> preferences on a solution is the day I should look for other work.
>
> And in fact I did not understand your argument.
>
> Regards,
> AHS
>
> - Original Message -
> From: "Jim Urban" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> 

SSL

2001-12-04 Thread Todd McGrath

In my app, I use a servlet to generate PDFs on the fly.  The app is a SSL
site.  The PDFs contain numerous images that are generated dynamically.  How
do I specify a relative path for the external-graphic src?

Environment:
FOP: 0.20.2RC
JDK 1.3.1_01
Windows 2000

The only way I can get images working is using full path:
http://localhost/Pie where "Pie" is the image producing servlet.  If I try
https://localhost/Pie absolute or /Pie relative it doesn't work.

Any thoughts appreciated,
Todd


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




RE: Page Breaks

2001-12-04 Thread Alistair Hopkins

How about an extension to XSL / Xalan?  Would that be permissible, or
possible?



Ugly, but keeps control with the client...

-Original Message-
From: Jim Urban [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 04, 2001 5:05 PM
To: [EMAIL PROTECTED]
Subject: RE: Page Breaks


I agree with what you are saying.  Here is the rule that I may not have
explicitly stated:
The data in our database comes from several legacy system.  This data can
not be modified by anything that our client does not directly control.  Our
applications are of the highest level of mission critical.  They are used by
physicians to determine how to treat patients and errors in the data we
present can have life or death consequences.

XSLT is under the control of our client.  The client can edit the XSL file.
The client can also request our servlets to return the raw XML for comparing
to the database to insure the data is 100% correct.  Any modifications
(however small) done by our Java code is outside our client's control.  That
is, our client does not have our Java source and can not make changes to it.
It all comes down to our having to meet a vary huge and strict set of
federal laws regarding data integrity and security called HIPPA.

I hope this explains my situation.  Now lets move on.  :)

Jim

-Original Message-
From: Arved Sandstrom [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 04, 2001 10:33 AM
To: [EMAIL PROTECTED]
Subject: Re: Page Breaks


Not to start a war here...let me put it this way. The fact that my initial
suggestion referenced Perl is actually irrelevant. Your servlet can do the
equivalent. After all, at the point where you are presenting XML to the XSLT
processor it is plaintext, right? So we are talking about inserting one
extra transformation step at this point...doesn't even have to use regular
expressions, and of course it can be written in Java. Nothing needs to be
written out to an intermediate file at all.

What I don't understand is an insistence that the only _modification_ and
_transformation_ which can be done with the data is through XSLT. And make
no mistake, XSLT "formatting for display", as you put it, _is_
transformation and modification. How do you figure that XSLT does not allow
you to change the data? The original data isn't what we are talking about in
any case - even my Perl one-liner did a backup.

As far as the comment about not letting developers use whatever technology
they like, hey, that's a given. Every project has a point where the choices
like that are made. Here's what I sense - you guys have a strong commitment
to data integrity and security, and I respect that. But you mistakenly
assume that use of XSLT is somehow going to avoid data integrity problems,
and I dispute that. _Correct_ XSLT code will avoid that problem, just as
_correct_ use of another approach would also (I use the word "code"
advisedly, because XSLT is code; no different from Perl, actually).

Regards,
Arved Sandstrom

- Original Message -
From: "Jim Urban" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 04, 2001 11:54 AM
Subject: RE: Page Breaks


> Our application is a web application implemented in Java Servlets.  To use
> the perl approach, we would have to call a perl script from within our
> servlet, passing the data in memory to the script.  The script would then
> have to modify the data and return it in memory to the servlet.  The data
> can NOT be written to a file without encrypting it.
>
> Using XSLT does not change the data.  It simply formats the data for
> display.  This formatting is controlled by the client, not our Java code.
> Our servlet has the ability to send back the raw XML so the client can see
> the "raw" unformatted data for verification purposes, I must maintain this
> option.
>
> > I'll use anything that works.
> > the day I start imposing my language preferences on a solution is the
> > day I should look for other work.
> As a product development manager, I can not let each developer (myself
> included) "use anything that works".  I manage a TEAM of developers.  We
> build and maintain professional software products that are built on a
common
> frame work, language and set of tools.  If you could not conform to our
way
> of doing things I would "ask" you to "look for other work".
>
> Jim
>
> -Original Message-
> From: Arved Sandstrom [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 04, 2001 9:01 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Page Breaks
>
>
> I hear you saying that modification of XML data with XSL is not really
> modification at all, but modification with Perl is bad. Seems somewhat
> unusual.
>
> Sorry you've had problems with scripting languages. I happen to be a
> professional software developer, and despite some current disillusionment
> with Java hype, I'll use anything that works. Past 2 years it was all J2EE
> and XML; I am working on a contract right now that is MS SQL Server, VC++
> and ASPs. I could car

RE: Newbie - controlling table alignment

2001-12-04 Thread Smith, Paul

I think the post you needed to see is:

> Hi,
>  
> please have a look at the FOP FAQs, I think the solution should be in
there:
>  
> - create a table as large as the page-body with only one cell
> - put your table into the block inside that cell
> - center the block in that cell
>  
> HTH, Corinna

You can see the whole thread at
http://marc.theaimsgroup.com/?l=fop-dev&m=100703165918190&w=2

Anyway, to give you an example, assuming your html is:



[Stuff Inside Table]



Then in XSL-FO (with FOP at least) you have to do:








[Stuff Inside Table]





  

Hope that helps. If you are still confused then maybe you could send me the
files you are working with?

---
Paul Smith


> -Original Message-
> From: John M. Corro [mailto:[EMAIL PROTECTED]]
> Sent: 04 December 2001 15:56
> To: [EMAIL PROTECTED]
> Subject: Newbie - controlling table alignment
> 
> 
> I've seen several posts in various archives asking the same 
> question, but
> haven't been able to find an answer yet - how do you control 
> aligning of an
> entire table (not the individual cell's contents)?
> 
> ie in HTML something like
> 
> 
> 
> 
> 
> I've attempted using the "text-align" tag, but didn't seem to work.


***
DISCLAIMER: The information contained in this email
 is confidential and is intended solely for the use of the
 named addressee.  Access, copying or re-use of the
 information in it by any other person is not authorised.



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




RE: Page Breaks

2001-12-04 Thread Jim Urban

I doubt that would be permissible since the client wouldn't be able to
control the extension (I'm assuming an extension is a compiled class).

Jim

-Original Message-
From: Alistair Hopkins [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 04, 2001 11:17 AM
To: [EMAIL PROTECTED]
Subject: RE: Page Breaks


How about an extension to XSL / Xalan?  Would that be permissible, or
possible?



Ugly, but keeps control with the client...

-Original Message-
From: Jim Urban [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 04, 2001 5:05 PM
To: [EMAIL PROTECTED]
Subject: RE: Page Breaks


I agree with what you are saying.  Here is the rule that I may not have
explicitly stated:
The data in our database comes from several legacy system.  This data can
not be modified by anything that our client does not directly control.  Our
applications are of the highest level of mission critical.  They are used by
physicians to determine how to treat patients and errors in the data we
present can have life or death consequences.

XSLT is under the control of our client.  The client can edit the XSL file.
The client can also request our servlets to return the raw XML for comparing
to the database to insure the data is 100% correct.  Any modifications
(however small) done by our Java code is outside our client's control.  That
is, our client does not have our Java source and can not make changes to it.
It all comes down to our having to meet a vary huge and strict set of
federal laws regarding data integrity and security called HIPPA.

I hope this explains my situation.  Now lets move on.  :)

Jim

-Original Message-
From: Arved Sandstrom [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 04, 2001 10:33 AM
To: [EMAIL PROTECTED]
Subject: Re: Page Breaks


Not to start a war here...let me put it this way. The fact that my initial
suggestion referenced Perl is actually irrelevant. Your servlet can do the
equivalent. After all, at the point where you are presenting XML to the XSLT
processor it is plaintext, right? So we are talking about inserting one
extra transformation step at this point...doesn't even have to use regular
expressions, and of course it can be written in Java. Nothing needs to be
written out to an intermediate file at all.

What I don't understand is an insistence that the only _modification_ and
_transformation_ which can be done with the data is through XSLT. And make
no mistake, XSLT "formatting for display", as you put it, _is_
transformation and modification. How do you figure that XSLT does not allow
you to change the data? The original data isn't what we are talking about in
any case - even my Perl one-liner did a backup.

As far as the comment about not letting developers use whatever technology
they like, hey, that's a given. Every project has a point where the choices
like that are made. Here's what I sense - you guys have a strong commitment
to data integrity and security, and I respect that. But you mistakenly
assume that use of XSLT is somehow going to avoid data integrity problems,
and I dispute that. _Correct_ XSLT code will avoid that problem, just as
_correct_ use of another approach would also (I use the word "code"
advisedly, because XSLT is code; no different from Perl, actually).

Regards,
Arved Sandstrom

- Original Message -
From: "Jim Urban" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 04, 2001 11:54 AM
Subject: RE: Page Breaks


> Our application is a web application implemented in Java Servlets.  To use
> the perl approach, we would have to call a perl script from within our
> servlet, passing the data in memory to the script.  The script would then
> have to modify the data and return it in memory to the servlet.  The data
> can NOT be written to a file without encrypting it.
>
> Using XSLT does not change the data.  It simply formats the data for
> display.  This formatting is controlled by the client, not our Java code.
> Our servlet has the ability to send back the raw XML so the client can see
> the "raw" unformatted data for verification purposes, I must maintain this
> option.
>
> > I'll use anything that works.
> > the day I start imposing my language preferences on a solution is the
> > day I should look for other work.
> As a product development manager, I can not let each developer (myself
> included) "use anything that works".  I manage a TEAM of developers.  We
> build and maintain professional software products that are built on a
common
> frame work, language and set of tools.  If you could not conform to our
way
> of doing things I would "ask" you to "look for other work".
>
> Jim
>
> -Original Message-
> From: Arved Sandstrom [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 04, 2001 9:01 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Page Breaks
>
>
> I hear you saying that modification of XML data with XSL is not really
> modification at all, but modification with Perl is bad. Seems somewhat
> unusual.
>
> Sorry

RE: OutOfMemoryError in apache fop/cocoon

2001-12-04 Thread Barbara Slupik

I set the TOMCAT_OPTS variable and it worked!

Thank you very much

Barbara

-Original Message-
From: Marcus Crafter [mailto:[EMAIL PROTECTED]]
Sent: 04 December 2001 13:30
To: [EMAIL PROTECTED]
Subject: Re: OutOfMemoryError in apache fop/cocoon


On Tue, Dec 04, 2001 at 01:17:32PM -, Barbara Slupik wrote:

> I am using Apache fop-0_20 and Cocoon 2. I have OutOfMemoryError in fop
for
> a large
> document. When I run it from the Windows command line I added:
>
> java -Xms64M -Xmx320M 
>
> and this fixed the memory problem.
>
> How to do the same in cocoon?

This needs to be set on your servlet container. For example, if
you are using Tomcat 3.2.x, set the TOMCAT_OPTS environment variable
or modify the $TOMCAT_HOME/bin/tomcat.sh script.

Hope this helps.

Cheers,

Marcus

--
.
 ,,$,  Marcus Crafter
;$'  ':Computer Systems Engineer
$: :   Managesoft GmbH
 $   o_)$$$:   82-84 Mainzer Landstrasse
 ;$,_/\ &&:'   60327 Frankfurt Germany
   ' /( &&&
   \_' Email : [EMAIL PROTECTED]
  .Business Hours : +49 69 9757 200
&&&:

-
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: Page Breaks

2001-12-04 Thread Ramin Firoozye

Hi Jim,

Sounds like a text-replace is called for. A few questions:

- Do you have the opportunity to pre-process the goods via Java/sed/perl or
something like that? That would be the easiest way to do a text replace
before you even get to the XSLT processor.

- You might need to tweak the XML encoding to be able to handle the ASCII
form-feed character un-escaped. Depends on the parser you're using.

- If your environment allows it you can also invoke XSLT extension functions
to do the replacement.

- Have you thought of trying the contains(), substring-before() and
substring-after() functions recursively to try to locate and extract the
text surrounding the form-feed character? It won't be pretty but if you
*must* stay in XSLT, it's pretty much your only choice.

Just some ideas...

Ramin

>
> How would I code my XSL to scan a text element for form feeds and insert a
> "" and the corresponding
> "" at the
> correct places?
>
> Jim
>
> -Original Message-
> From: Vladimir Sneblic [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 03, 2001 4:13 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: Page Breaks
>
>
> Try using break-before="page" property of fo:block something like:
>
>  The text to appear on the next
> page
>
> I think you can leave it empty (i.e. a block with no content), and use it
> purely as a page break mechanism.
>
> Have fun,
>
> Vlad
>
>
>
>-Original Message-
>   From:   Jim Urban [mailto:[EMAIL PROTECTED]]
>   Sent:   Tuesday, 4 December 2001 11:07 a.m.
>   To: FOP Dev
>   Subject:Page Breaks
>
>   I have a servlet which dynamically generates XML which is
> then translated into FO and ran through FOP to generate PDFs.  What can I
> embed (like a "\f") in the XML text that will cause FOP to automatically
> start a new page?
>
>   Thanks,
>
>   Jim Urban
>   Product Manager
>   Netsteps Inc.
>   Suite 505E
>   1 Pierce Pl.
>   Itasca, IL  60143
>   Voice:  (630) 250-3045 x2164
>   Fax:  (630) 250-3046
><< File: ATT70001.txt >>
>
> -
> 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]




RE: Page Breaks

2001-12-04 Thread Jim Urban



-Original Message-
From: Ramin Firoozye [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 04, 2000 2:50 PM
To: [EMAIL PROTECTED]
Subject: RE: Page Breaks


Hi Jim,

Sounds like a text-replace is called for. A few questions:

- Do you have the opportunity to pre-process the goods via Java/sed/perl or
something like that? That would be the easiest way to do a text replace
before you even get to the XSLT processor.
No.  The text must be untouched by everything but XSLT.

- You might need to tweak the XML encoding to be able to handle the ASCII
form-feed character un-escaped. Depends on the parser you're using.
Using Xalan.  Xalan says unicode 12 (decimal for form feed) is invalid.

- If your environment allows it you can also invoke XSLT extension functions
to do the replacement.
The clients don't want any non-standard (extension) translation functions.

- Have you thought of trying the contains(), substring-before() and
substring-after() functions recursively to try to locate and extract the
text surrounding the form-feed character? It won't be pretty but if you
*must* stay in XSLT, it's pretty much your only choice.
Yeah, that is ugly.

Just some ideas...
Thanks, for the ideas.  I am currently working with our DBA to see if we can
store the contents of each page in a seperate table row.  That way we can
use "xsl:for-each" to print each row in a seperate fo:block with a
break-after option.

Ramin

>
> How would I code my XSL to scan a text element for form feeds and insert a
> "" and the corresponding
> "" at the
> correct places?
>
> Jim
>
> -Original Message-
> From: Vladimir Sneblic [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 03, 2001 4:13 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: Page Breaks
>
>
> Try using break-before="page" property of fo:block something like:
>
>  The text to appear on the next
> page
>
> I think you can leave it empty (i.e. a block with no content), and use it
> purely as a page break mechanism.
>
> Have fun,
>
> Vlad
>
>
>
>-Original Message-
>   From:   Jim Urban [mailto:[EMAIL PROTECTED]]
>   Sent:   Tuesday, 4 December 2001 11:07 a.m.
>   To: FOP Dev
>   Subject:Page Breaks
>
>   I have a servlet which dynamically generates XML which is
> then translated into FO and ran through FOP to generate PDFs.  What can I
> embed (like a "\f") in the XML text that will cause FOP to automatically
> start a new page?
>
>   Thanks,
>
>   Jim Urban
>   Product Manager
>   Netsteps Inc.
>   Suite 505E
>   1 Pierce Pl.
>   Itasca, IL  60143
>   Voice:  (630) 250-3045 x2164
>   Fax:  (630) 250-3046
><< File: ATT70001.txt >>
>
> -
> 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]



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




Re: fo:external-graphic question

2001-12-04 Thread Matt Savino

Ours is an SSL site. Like I wrote I just sue the absolute file path
below. 

It works for all the Unix boxes. PDF imbeds the image anyway, rather
than just linking to it and letting the browser server it up like HTML
does. So you shouldn't see that secure-to-insecure error.



Todd McGrath wrote:
> 
> Will this work for SSL sites?
> 
> I have servlets that produce images (graphs) and I'm try to include them in
> the generated PDFs.  I wasn't sure that you could use relative path for
> "src" attribute?  Since I wasn't able to get it working, I needed to create
> a separate site in order to use absolute path to servlets (example:
> http://localhost/Pie, where Pie is the graph producing servlet)  Obviously,
> I would like to use relative so users do not see pop-up message about "not
> secure"
> 
> Is anyone using FOP in SSL enabled sites with external-graphic that are not
> static filebased?
> 
> Todd
> 
> -Original Message-
> From: Max Froumentin [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 03, 2001 10:26 AM
> To: [EMAIL PROTECTED]
> Subject: Re: fo:external-graphic question
> 
> You wrote:
> 
> > If you want a relative URI, why not just use a relative URI?  I.e.,
> >
> src="config/isappdev/applications/RVWebApp1/WEB-INF/lib/ClinTrialLogoGreenBi
> g.gif"?
> > Then the current protocol, host, and directory will be used as the base
> URI
> > and the relative URI interpreted relative to that.
> 
> And of course this should ideally be
> 
> src="url(config/isappdev...)"
> 
> Max.
> 
> -
> 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]