Re: Current state of Apache FOP?

2005-03-29 Thread Glen Mazza
You may want to take a look at open-source
JasperReports -- your stylesheets will not be XSL but
the system will still be Java/XML-based.  Later, as
FOP matures, you can evaluate going back to it,
possibly just by changing your stylesheets.  I have
not worked with this product, however, so am unsure of
its quality.

Glen

--- Andreas Jung <[EMAIL PROTECTED]> wrote:
> 
> If we should decide to use to FOP for our project
> (we ship content (XHTML)
> on CD/DVD on are looking for a solution to provide
> on-the-fly PDF/RTF 
> generation
> cross-platform on Windoze and Linux) then I am sure
> we might support the 
> project
> with some resources (especially because FOP is
> open-source and has a 
> liberal license).
> 
> Andreas
> 

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



RE: Article in JAVAWORLD.

2005-03-29 Thread Glen Mazza
--- "Andreas L. Delmelle" <[EMAIL PROTECTED]>
wrote:
> > -Original Message-
> > From: Glen Mazza [mailto:[EMAIL PROTECTED]
> > 
> 
> > FOP can really do Japanese?  I didn't know that. 
> > Anyway--well done!  
> 
> I second that. I don't remember personally helping
> Manoj out, but anyway:
> 
> Big THANKS for the publicity!
> 

It looks like we'll be having even more publicity
soon[1]...congratulations Jeremias!

[1] http://apachecon.com/2005/EU/html/speakers.html

Glen


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



Re: Article in JAVAWORLD.

2005-03-28 Thread Glen Mazza
FOP wa honto ni Nihongo ga dekimasu ka?  Sono jijitsu
o shiranakatta desu.  Tonikaku, yoku dekimashita! 
Boku wa Manoj-san no kiji o oishii no rinku[1] ni
tashimashita--arigatou!

FOP can really do Japanese?  I didn't know that. 
Anyway--well done!  I added your article to my
del.icio.us links[1]--thanks!

Glen

[1] http://del.icio.us/gmazza/xsl


--- [EMAIL PROTECTED] wrote:

-
I had written an article about publishing PDF docs on
client side using FOP for JAVAWORLD magazine. The
editors have approved it and has been published in the
March 28 edition of Javaworld.
 
Check the article at http://www.javaworld.com. Its
right on the home page. The direct article link is
http://www.javaworld.com/javaworld/jw-03-2005/jw-0328-xmlprinting.html
 
I have acknowledged the help received from this forum
in the CONCLUSION section just above the ABOUT THE
AUTHOR section on page 2.
 
Thanks again to all in this group. Without your inputs
this wouldn't have been possible..
 
 
Manoj Nair
 
-To
unsubscribe, e-mail:
[EMAIL PROTECTED]
additional commands, e-mail: [EMAIL PROTECTED]

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



Fw: [appfuse-user] ... POJO to PDF Tutorial

2005-03-25 Thread Glen Mazza
FYI...frequent AppFuse contributor Ben Gill has written a FOP--AppFuse
tutorial [1].  It's nice to see my favorite and second favorite open source
projects described together...  :-)

Glen

- Original Message - 
From: "Matt Raible" <[EMAIL PROTECTED]>
To: "AppFuse" <[EMAIL PROTECTED]>
Sent: Monday, March 21, 2005 7:55 AM
Subject: [appfuse-user] Help with MySQL Access Denied and POJO to PDF
Tutorial


> FYI...
>
> Ben Gill has been kind enough to put a couple of good howtos together.
>  The first shows how to modify MySQL when you're getting Access Denied
> errors.
>
> http://raibledesigns.com/wiki/Wiki.jsp?page=AssistanceWithAntSetup
>
> This article is linked to from the FAQ:
>
http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuseSupport#ref-AppFuseSupport-5
>
> The second article shows how to generate a PDF from a POJO using FOP.
>
[1]
> http://raibledesigns.com/wiki/Wiki.jsp?page=POJOToPDF
>
> This article is linked to from the Articles:
> http://raibledesigns.com/wiki/Wiki.jsp?page=Articles
>
> Thanks Ben!
>
> Matt
>
> -
> 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: text-indent issue

2005-03-16 Thread Glen Mazza
--- "Puppala, Kumar (LNG-DAY)"
<[EMAIL PROTECTED]> wrote:
> If I have text-indent specified on an fo:block and
> if I have a nested block
> within this, the text following this nested block is
> indented as well. For
> example:
> 
>  
> 
> 
> 
>   This is just for testing purpose and this line
> will be indented.
> 
> this is the nested block 
> 
>  The text following the nested block is indented
> as well...not sure if
> this is as per spec. since it does not happen in
> other renderers.
> 
> 
> 
> 
> In the above example, the text following the second
> block should not be
> indented since text-indent applies only to the first
> line of that block and
> not to any subsequent text in that block. 

I really don't think so.  All of the PCDATA in your
example is owned by that outer fo:block, and subject
to its properties.

> Is there a
> way to get around this
> issue by specifying some property on the first
> block? I appreciate your
> help.
> 

De-nest your fo:blocks?

Glen


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



Re: fop with lenya: how can I suppress the in a created pdf

2005-03-16 Thread Glen Mazza
I'm not sure--but you have an XSLT question, not a FOP
one--and I think the Mulberry XSLT mailing list
(Google for it) would be best for you.

Glen

--- Sascha Teifke <[EMAIL PROTECTED]> wrote:

> Hi Glen,
> 
> thank you for the quick response.
> 
> I removed it. But it still doesn't work.
> 
> Her is an example xml file created by lenya.
> 
>  xmlns="http://www.w3.org/1999/xhtml"; 
> xmlns:dc="http://purl.org/dc/elements/1.1/"; 
> xmlns:dcterms="http://purl.org/dc/terms/"; 
>
xmlns:lenya="http://apache.org/cocoon/lenya/page-envelope/1.0";
> 
> xmlns:xhtml="http://www.w3.org/1999/xhtml"; 
> dc:dummy="FIXME:keepNamespace"
> dcterms:dummy="FIXME:keepNamespace" 
> lenya:dummy="FIXME:keepNamespace"
> xhtml:dummy="FIXME:keepNamespace">
> 
> dctitle
> Sascha Teifke
> dcsubject
> Abstract that can be used on
> an overview 
> page
> 
> 
> Sun Mar 06 16:40:36 CET
> 2005
> 
> 
> 
> 
> de
> 
> 
> dcrights
> 
>   
> Default Publication
>   
>   
> Grundlagen
> In dieser Rubrik erfahren Sie einiges über
> die 
href="/mediengestaltung/authoring/basics/history_de.html"
> 
> title="">Historie des PDF-Formates, sowie 
href="/mediengestaltung/authoring/basics/application_de.html"
> 
> title="">Einsatzgebiete und die 
href="/mediengestaltung/authoring/basics/software_de.html"
> 
> title="">Software, die man zur Erstellung
> benötigt.
> 
> 
> Glen Mazza wrote:
> 
> >Remove the template below from your XSLT, and that
> >should work.
> >
> >  
> >
> >
> >
> >  
> >
> >Glen
> >
> >
> >--- Sascha Teifke <[EMAIL PROTECTED]> wrote:
> >  
> >
> >>I am using fop with apache lenya to create pdf
> >>files.
> >>I'm using a simple xsl-file for transforming the
> >>created
> >>lenya xml files into pdf files:
> >>
> >>
> >> >>   
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
> >>version="1.0"
> >>xmlns:fo="http://www.w3.org/1999/XSL/Format";
> >> >
> >>
> >>
> >> >>xmlns:fo="http://www.w3.org/1999/XSL/Format";>
> >>
> >> >>master-name="page"
> >>  page-height="29.7cm"
> >>  page-width="21cm"
> >>  margin-top="1cm"
> >>  margin-bottom="2cm"
> >>  margin-left="2.5cm"
> >>  margin-right="2.5cm"
> >>>
> >> extent="3cm"/>
> >> >>margin-top="3cm"/>
> >> >>extent="1.5cm"/>
> >>
> >>
> >> >>master-name="all">
> >>   
> >>
> >>   
> >> >>   master-reference="page"
> >>page-position="first"/>
> >>   
> >>
> >>
> >>
> >>
> >> >>master-reference="all">
> >> >>flow-name="xsl-region-body">
> >>   
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>   
> 
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> >>font-weight="bold">
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>But ... how can I make the  tags in
> the
> >>xml file not to be 
> >>shown in the
> >>created pdf file???
> >>
> >>Thank you in advance!
> >>
> >>Sascha
> >>
> >>
> >>
> >>
>
>-
> >  
> >
> >>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]
> >
> >
> >  
> >
> 
> 
>
-
> 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: fop with lenya: how can I suppress the in a created pdf

2005-03-16 Thread Glen Mazza
Remove the template below from your XSLT, and that
should work.

  



  

Glen


--- Sascha Teifke <[EMAIL PROTECTED]> wrote:
> I am using fop with apache lenya to create pdf
> files.
> I'm using a simple xsl-file for transforming the
> created
> lenya xml files into pdf files:
> 
> 
>  xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
> version="1.0"
> xmlns:fo="http://www.w3.org/1999/XSL/Format";
>  >
> 
> 
>  xmlns:fo="http://www.w3.org/1999/XSL/Format";>
> 
>  master-name="page"
>   page-height="29.7cm"
>   page-width="21cm"
>   margin-top="1cm"
>   margin-bottom="2cm"
>   margin-left="2.5cm"
>   margin-right="2.5cm"
> >
> 
>  margin-top="3cm"/>
>  extent="1.5cm"/>
> 
> 
>  master-name="all">
>
> 
>
> master-reference="page"
> page-position="first"/>
>
> 
> 
> 
> 
>  master-reference="all">
>  flow-name="xsl-region-body">
>
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  font-weight="bold">
> 
> 
> 
> 
> 
> 
> 
> But ... how can I make the  tags in the
> xml file not to be 
> shown in the
> created pdf file???
> 
> Thank you in advance!
> 
> Sascha
> 
>
-
> 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: xsl:apply-templates

2005-03-11 Thread Glen Mazza
I think so; something similar to [1] -- but with
something under the  that you would
want to see in the PDF in the case where there are no
team members.

Glen

[1]
http://marc.theaimsgroup.com/?l=fop-user&m=110969377910177&w=2


--- Ben Gill <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I am using apply-templates, but would like to always
> spit out one child
> (ie.TeamMemeber) entry in the PDF doc.
> 
> At the momment, if there is no TeamMember, nothing
> gets written to the PDF
> document..
> 
> Is there a clever way of telling XSL to spit out at
> least one child anyway?
> or is the solution to 
> dump out some empty XML from the
> ProjectTeamXMLReader?
> 
> Thanks
> 
> 
> This message has been checked for all known viruses
> by the MessageLabs Virus Control Centre.
> 


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



Re: Leader dots not showing up and "Compilation exited abnormally with code 255 at Wed Mar 09 14:20:11"

2005-03-09 Thread Glen Mazza
--- Siegfried Heintze <[EMAIL PROTECTED]> wrote:

> Thanks for that last response! I'm now getting PDF
> output from 0.20.5!
> 

That's nice.

>  
> 
> May I solicit you for suggestions on how to diagnose
> these problems:
> 
> (1) I don't understand the warning below. I
> searched for
> table-layout=auto and could not find it in my xsl or
> my file.
> 

Probably because you didn't specify table-layout
explicitly as a property, and hence that property
defaults as "auto".  Use process of elimination to
determine the offending table, and explicitly use
table-layout="fixed" and the message should go away.


> (2) SIGNITEK rule-thickness="1pt"
> leader-pattern="dots"/> does not seem to be
> producing a complete row of dots
> for my table of contents. It did in 0.19.
> 

In our /examples directory, we have a leader.fo sample
somewhere.  Run that and see if it works, if so look
in that file to see what needs to be done.

> (3) "area contents overflows area in line" - how
> do I find which line of
> xml/fo code is causing this?
> 

Process of elimination--keep reducing the input file
until the culprit is cornered.


> (4) Why does it execut with code 255? Maybe this
> is another symptom of
> the above problems. Would a warning cause this?
> 

I have no idea.

>  
> 
> I tried using -d hoping it would give me line
> numbers in the fo file. It did
> not!
> 

The nerve!  But the future 1.0 version (not ready yet)
should be better in this regard.

Thanks,
Glen


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



Re: master-reference '' for fo:page-sequence matches no simple-page-master or page-sequence-master

2005-03-09 Thread Glen Mazza
The property on fo:conditional-page-master-reference
should be "master-reference", not "master-name" [1].

[1]
http://www.w3.org/TR/2001/REC-xsl-20011015/slice6.html#fo_conditional-page-master-reference

HTH,
Glen

--- Siegfried Heintze <[EMAIL PROTECTED]> wrote:

> 
>   15 page-position="first"
> master-name="right"/>
> 
>   16 odd-or-even="even"
> master-name="right"/>
> 
>   17 odd-or-even="odd"
> master-name="left"/>
> 
>   18 master-name="right"/>
> 


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



Re: Problem with CDATA in the input XML-file

2005-03-06 Thread Glen Mazza
--- Julian Reschke <[EMAIL PROTECTED]> wrote:

> [EMAIL PROTECTED] wrote:
> > Of course! We forgot the   < and > before and
> after the CDATA.
> > We used a parser (jdom) that could handle this
> without any complaints 
> > (less strict) and I was suprised to se the CDATA
> statement in the output 
> > (pdf-file).
> >  
> > Thank you!
> 
> In the context of XML parsing, "less strict" means
> "buggy".
> 

Ja, auch mit der *XSL FO*-Parsierung, denke ich. 
Danke für Ihre Meinung!  ;)

Glen


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



Re: Interesting question

2005-03-05 Thread Glen Mazza
--- Miroslav Pukhalsky <[EMAIL PROTECTED]>
wrote:

> Hi there!
> 
> Glen Mazza wrote:
> > 
> > Looks like an Apache Ant task.  Look at the
> example at
> > the bottom of [1].
> > 
> > [1] http://xml.apache.org/fop/anttask.html
> > 
> > Glen
> > 
> Thanks, but ANT is out law :(
> 
> Miroslav
> 

That's quite unfortunate, as Ant is an excellent
productivity tool.  I would try to get your company to
reconsider.  

Anyway, I think your next step may be to start looking
at writing your own Java program using JAXP to process
all those files.  The Embed[1] page on our website
should be of help.

Glen

[1] http://xml.apache.org/fop/embedding.html

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



Re: Interesting question

2005-03-04 Thread Glen Mazza
Looks like an Apache Ant task.  Look at the example at
the bottom of [1].

[1] http://xml.apache.org/fop/anttask.html

Glen

--- Miroslav Pukhalsky <[EMAIL PROTECTED]>
wrote:

> Hi there!
> 
> Can I do something like this
> 
> fop.bat -fo *.fo -pdf *.pdf
> 
> and got the same quantity of PDF files from some
> quantity of FO files?
> Or is it impossible for FOP 0.20.5? Or exists
> another way for do this?
> 
> Miroslav
> 
>
-
> 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: Default stylesheet

2005-03-04 Thread Glen Mazza
--- Roland Neilands <[EMAIL PROTECTED]>
wrote:

> [ERROR] Expected XSL-FO (root, page-sequence, etc.),
> SVG (svg, rect, etc.) or el
> ements from another supported language.
> 
> I think FOP can do it, it just needs to not set the
> -xsl flag and/or this error turned into a warning:
> "[ERROR] XSLT file must be specified for the
> tranform mode"
> ie let xalan spit the error if there's no processing
> instruction.
> 

But the user is not necessarily using Xalan, we use
JAXP internally, which is XSLT-processor-agnostic, and
I'm unsure but doubtful that the xml-stylesheet
processing instruction can be supported by JAXP.

Best option here is to just specify -xsl { filename }
at the command line, just use the filename you have in
the XML document.  That's what all the other
command-line users do, whether or not they bother with
the xml-stylesheet PI.  Apparently xml-stylesheet[1] 
is mainly for browsers anyway.

HTH,
Glen

[1] http://www.dpawson.co.uk/xsl/sect2/N6145.html#d7755e169

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



Re: Default stylesheet

2005-03-03 Thread Glen Mazza
Oh--now I see, it means a stylesheet embedded within
the XML file.

Glen

--- Glen Mazza <[EMAIL PROTECTED]> wrote:

> I don't know what a XSLT "default stylesheet" is --
> checking the XSLT Rec for "default" is not showing 
> any place where this is defined.  (I believe
> browsers
> have them, but that wouldn't be applicable for our
> discussion here.)
> 
> But if his input XML is already XSL-processable
> (perhaps indicated by the fact that only a default
> stylesheet would be needed to "transform" it), I
> think
> FOP can do this already.  How about:
> 
> fop -fo abc.xml -pdf abc.pdf
> 
> Glen
> 
> 
> --- Jeremias Maerki <[EMAIL PROTECTED]>
> wrote:
> 
> > You're welcome to write a patch for the code in
> CVS
> > HEAD so we have this
> > feature ready when we're ready to start releasing
> > again. Obviously, this
> > isn't implemented in FOP 0.20.5.
> > 
> > On 03.03.2005 06:55:01 Roland Neilands wrote:
> > > Hi all,
> > > 
> > > I have an interesting question:
> > > Can FOP use the XML default stylesheet instead
> of
> > having one specified?
> > > 
> > > eg
> > > PI in test.xml:
> > >  href="test.xsl"?>
> > > 
> > > >xalan -in test.xml -out test.fo
> > > >fop test.fo -pdf test.pdf
> > > >fop -xml test.xsl -pdf test.pdf
> > > 
> > > works fine, but to do it in one step:
> > > >fop -xml test.xml  -pdf test.pdf
> > > gives usage screen +:
> > > [ERROR] XSLT file must be specified for the
> > tranform mode
> > > 
> > > Obviously this works:
> > > >fop -xml test.xml -xsl test.xsl -pdf test.pdf
> > > but I would prefer to let this be specified per
> > xml file if possible.
> > > 
> > > Any comments appreciated.
> > 
> > 
> > Jeremias Maerki
> > 
> > 
> >
>
-
> > 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]
> 
> 


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



Re: Default stylesheet

2005-03-03 Thread Glen Mazza
I don't know what a XSLT "default stylesheet" is --
checking the XSLT Rec for "default" is not showing 
any place where this is defined.  (I believe browsers
have them, but that wouldn't be applicable for our
discussion here.)

But if his input XML is already XSL-processable
(perhaps indicated by the fact that only a default
stylesheet would be needed to "transform" it), I think
FOP can do this already.  How about:

fop -fo abc.xml -pdf abc.pdf

Glen


--- Jeremias Maerki <[EMAIL PROTECTED]> wrote:

> You're welcome to write a patch for the code in CVS
> HEAD so we have this
> feature ready when we're ready to start releasing
> again. Obviously, this
> isn't implemented in FOP 0.20.5.
> 
> On 03.03.2005 06:55:01 Roland Neilands wrote:
> > Hi all,
> > 
> > I have an interesting question:
> > Can FOP use the XML default stylesheet instead of
> having one specified?
> > 
> > eg
> > PI in test.xml:
> > 
> > 
> > >xalan -in test.xml -out test.fo
> > >fop test.fo -pdf test.pdf
> > >fop -xml test.xsl -pdf test.pdf
> > 
> > works fine, but to do it in one step:
> > >fop -xml test.xml  -pdf test.pdf
> > gives usage screen +:
> > [ERROR] XSLT file must be specified for the
> tranform mode
> > 
> > Obviously this works:
> > >fop -xml test.xml -xsl test.xsl -pdf test.pdf
> > but I would prefer to let this be specified per
> xml file if possible.
> > 
> > Any comments appreciated.
> 
> 
> Jeremias Maerki
> 
> 
>
-
> 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: Page Size

2005-03-02 Thread Glen Mazza
I can't answer your question but to help others who
may be able to, could you clarify whether you want PS
or PDF output?  (Or both?)

Thanks,
Glen


--- Uwe Kubosch <[EMAIL PROTECTED]> wrote:

> Hi!
> 
> We are using FOP to produce a book and most issues
> have been
> successfully dealt with.
> 
> Currently we are struggling with page size.  We set
> page size to be 29.7
> by 21 cm in the simple-page-master tag.
> 
> We need to be able to reorder and resize the pages
> for folded printing.
> That means putting pages 4+1 on the first sheet and
> pages 2+3 on the
> second sheet for a 4 page document.  The only way we
> have found to do
> this is by converting the pdf document to postscript
> and using psbook
> for the reordering and psnup to put two pages on one
> sheet.
> 
> When printing the resulting document, the page size
> is a bit off and
> visual inspection using ggv show the page sizes to
> be too small.  The
> pdf produced by FOP is 27.9 by 20.3 cm.
> 
> After using pdf2ps the page size is 26.9 by 20.3.
> 
> Is this a known problem?
> 
> Is there a way to display the page size of a pdf or
> postscript document
> exactly?
> 
> Any help is greatly appreciated.
> 
> 
> donV
> 
> 
>
-
> 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: check to see if newpage is created

2005-03-02 Thread Glen Mazza
I'm confused about the comment:



But we don't want to see the text "continued" until
(=up to) the last page--we *do* want to see it on the
last page, and every page, except the first.  Is your
code doing this or are is it solving the above issue
instead?

Thanks,
Glen

--- Roland Neilands <[EMAIL PROTECTED]>
wrote:

> Some working code:
> 
> ...
> fo:static-content:
>  space-after.optimum="3pt" line-height="15pt"
> font-family="serif" font-size="10pt">
>   
>   
>retrieve-class-name="table-continued"
>  
> retrieve-boundary="page"
>  
> retrieve-position="last-ending-within-page"/>
> 
> 
> 
> ...
> In the fo:flow (each iteration):
>   
>marker-class-name="table-continued">Continued
> ...
> 
> ...
> At the end:
>space-after.optimum="3pt" line-height="15pt"
> font-family="serif" font-size="10pt">
>      marker-class-name="table-continued">
>   
> 
>   
> 
> More detail:
>
http://marc.theaimsgroup.com/?l=fop-user&w=2&r=1&s=marker+continued&q=b
> 
> Cheers,
> Roland
> 
> > -Original Message-
> > From: Glen Mazza [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, 2 March 2005 11:30 AM
> > To: [EMAIL PROTECTED]
> > Subject: RE: check to see if newpage is created
> > 
> > 
> > Are you sure?  If I understand the question
> correctly
> > he wants a different title on page 2 (and 3, and
> 4,
> > and 5...) from page 1.
> > 
> > For example:  Page One:  ACME INVOICE
> > Page Two & onwards:ACME INVOICE (cont'd).
> > 
> > Would markers really help here?
> > 
> > Glen
> > 
> > --- Roland Neilands <[EMAIL PROTECTED]>
> > wrote:
> > 
> > > Markers sound much easier for this.
> > > See examples\fo\markers\ included in the FOP
> > > distribution.
> > > 
> > > Plenty of examples in the list archive too.
> > > 
> > > Cheers,
> > > Roland
> > > 
> > > > -Original Message-
> > > > From: Glen Mazza [mailto:[EMAIL PROTECTED]
> > > > Sent: Wednesday, 2 March 2005 10:48 AM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: Re: check to see if newpage is
> created
> > > > 
> > > > 
> > > > I think he can, although I don't have an exact
> > > example
> > > > for him--[1] may come close.  It would be
> > > convoluted,
> > > > and I'm unsure whether it works in FOP, but:
> > > > 
> > > > Basically, he wants the static header to be
> > > different
> > > > on pages after one, if there is more than one
> > > page. 
> > > > That normally indicates using a
> > > > fo:page-sequence-master with maximum-repeats =
> 1
> > > (see
> > > > line 26 of [1]) for the first
> > > > fo:repeatable-page-master-reference, and
> > > "no-limit"
> > > > for the second, with the two fo:r-p-m-r using
> > > > different fo:simple-page-masters.
> > > > 
> > > > The first fo:s-p-m would be same as what he's
> > > > currently using, the second fo:s-p-m would be
> the
> > > same
> > > > as the first, *except* that fo:region-before
> would
> > > > have a different region-name property (say
> > > > "show-contd-msg")
> > > > 
> > > > Next, within the fo:page-sequence, construct
> two
> > > > fo:static-contents for the differing headers
> (see
> > > line
> > > > 38), one having a flow-name of
> > > "xsl-region-before",
> > > > and the other having a flow-name of
> > > "show-contd-msg"
> > > > (which has the "cont'd" message).  The first
> > > fo:s-c
> > > > will be activated for the first page, and the
> > > second
> > > > fo:s-c will activated for all other pages.
> > > > 
> > > > HTH,
> > > > Glen
> > > > 
> > > > [1] http://tinyurl.com/4mwdc
> > > > 
> > > > 
> > > > --- [EMAIL PROTECTED] wrote:
> > > > 
> > > > > If you are using static-content blocks

RE: check to see if newpage is created

2005-03-02 Thread Glen Mazza
Are you sure?  If I understand the question correctly
he wants a different title on page 2 (and 3, and 4,
and 5...) from page 1.

For example:  Page One:  ACME INVOICE
Page Two & onwards:ACME INVOICE (cont'd).

Would markers really help here?

Glen

--- Roland Neilands <[EMAIL PROTECTED]>
wrote:

> Markers sound much easier for this.
> See examples\fo\markers\ included in the FOP
> distribution.
> 
> Plenty of examples in the list archive too.
> 
> Cheers,
> Roland
> 
> > -Original Message-
> > From: Glen Mazza [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, 2 March 2005 10:48 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: check to see if newpage is created
> > 
> > 
> > I think he can, although I don't have an exact
> example
> > for him--[1] may come close.  It would be
> convoluted,
> > and I'm unsure whether it works in FOP, but:
> > 
> > Basically, he wants the static header to be
> different
> > on pages after one, if there is more than one
> page. 
> > That normally indicates using a
> > fo:page-sequence-master with maximum-repeats = 1
> (see
> > line 26 of [1]) for the first
> > fo:repeatable-page-master-reference, and
> "no-limit"
> > for the second, with the two fo:r-p-m-r using
> > different fo:simple-page-masters.
> > 
> > The first fo:s-p-m would be same as what he's
> > currently using, the second fo:s-p-m would be the
> same
> > as the first, *except* that fo:region-before would
> > have a different region-name property (say
> > "show-contd-msg")
> > 
> > Next, within the fo:page-sequence, construct two
> > fo:static-contents for the differing headers (see
> line
> > 38), one having a flow-name of
> "xsl-region-before",
> > and the other having a flow-name of
> "show-contd-msg"
> > (which has the "cont'd" message).  The first
> fo:s-c
> > will be activated for the first page, and the
> second
> > fo:s-c will activated for all other pages.
> > 
> > HTH,
> > Glen
> > 
> > [1] http://tinyurl.com/4mwdc
> > 
> > 
> > --- [EMAIL PROTECTED] wrote:
> > 
> > > If you are using static-content blocks to create
> > > headers and footers, 
> > > you'll automatically get that content on the new
> > > page. You can also put a 
> > > running title in the header or footer. If you
> make
> > > the header area big 
> > > enough and apply the same style choices to the
> > > running title, I suppose 
> > > you could make it like like a continued title
> > > (perhaps even with the word 
> > > "continued" after the title). As a rule, that's
> OK
> > > in short (two pages or 
> > > so) documents but will be seen as heavy-handed
> for
> > > long documents.
> > > 
> > > If you want to insert a new title in the body of
> the
> > > document each time a 
> > > new page is created, I think you're out of luck.
> I
> > > don't believe FOP 
> > > offers a mechanism to detect when a flow has
> crossed
> > > a page boundary.
> > > 
> > > I don't think this is a weakness of FOP, by the
> way.
> > > I'm pretty sure the 
> > > FO spec offers no such mechanism, so any
> compliant
> > > implementation of the 
> > > spec does not have that feature.
> > > 
> > > (I have qualified all my statements because I
> have
> > > not taken the time to 
> > > go check the spec.)
> > > 
> > > HTH
> > > 
> > > Jay Bryant
> > > Bryant Communication Services
> > > (presently consulting at Synergistic Solution
> > > Technologies)
> > > 
> > > 
> > > 
> > > "Jaysheel Bhavsar" <[EMAIL PROTECTED]> 
> > > 03/01/2005 04:08 PM
> > > Please respond to
> > > [EMAIL PROTECTED]
> > > 
> > > 
> > > To
> > > <[EMAIL PROTECTED]>
> > > cc
> > > 
> > > Subject
> > > check to see if newpage is created
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > Hi,
> > >   I am displaying some text on one of the pages,
> and
> > > some times the text
> > > might be long enough that a new page is created.
> Is
> > > there a way to check
> > > if a new page is created so I put some page
> title
> > > eg. (cont...) or
> > > something else.
> > > 
> > > Thanks
> > > 
> > > Jaysheel. 
> > > 
> > >
> >
>
-
> > > 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]
> > > 
> > > 
> > 
> > 
> >
>
-
> > 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]
> 
> 


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



Re: check to see if newpage is created

2005-03-01 Thread Glen Mazza
I think he can, although I don't have an exact example
for him--[1] may come close.  It would be convoluted,
and I'm unsure whether it works in FOP, but:

Basically, he wants the static header to be different
on pages after one, if there is more than one page. 
That normally indicates using a
fo:page-sequence-master with maximum-repeats = 1 (see
line 26 of [1]) for the first
fo:repeatable-page-master-reference, and "no-limit"
for the second, with the two fo:r-p-m-r using
different fo:simple-page-masters.

The first fo:s-p-m would be same as what he's
currently using, the second fo:s-p-m would be the same
as the first, *except* that fo:region-before would
have a different region-name property (say
"show-contd-msg")

Next, within the fo:page-sequence, construct two
fo:static-contents for the differing headers (see line
38), one having a flow-name of "xsl-region-before",
and the other having a flow-name of "show-contd-msg"
(which has the "cont'd" message).  The first fo:s-c
will be activated for the first page, and the second
fo:s-c will activated for all other pages.

HTH,
Glen

[1] http://tinyurl.com/4mwdc


--- [EMAIL PROTECTED] wrote:

> If you are using static-content blocks to create
> headers and footers, 
> you'll automatically get that content on the new
> page. You can also put a 
> running title in the header or footer. If you make
> the header area big 
> enough and apply the same style choices to the
> running title, I suppose 
> you could make it like like a continued title
> (perhaps even with the word 
> "continued" after the title). As a rule, that's OK
> in short (two pages or 
> so) documents but will be seen as heavy-handed for
> long documents.
> 
> If you want to insert a new title in the body of the
> document each time a 
> new page is created, I think you're out of luck. I
> don't believe FOP 
> offers a mechanism to detect when a flow has crossed
> a page boundary.
> 
> I don't think this is a weakness of FOP, by the way.
> I'm pretty sure the 
> FO spec offers no such mechanism, so any compliant
> implementation of the 
> spec does not have that feature.
> 
> (I have qualified all my statements because I have
> not taken the time to 
> go check the spec.)
> 
> HTH
> 
> Jay Bryant
> Bryant Communication Services
> (presently consulting at Synergistic Solution
> Technologies)
> 
> 
> 
> "Jaysheel Bhavsar" <[EMAIL PROTECTED]> 
> 03/01/2005 04:08 PM
> Please respond to
> [EMAIL PROTECTED]
> 
> 
> To
> <[EMAIL PROTECTED]>
> cc
> 
> Subject
> check to see if newpage is created
> 
> 
> 
> 
> 
> 
> Hi,
>   I am displaying some text on one of the pages, and
> some times the text
> might be long enough that a new page is created. Is
> there a way to check
> if a new page is created so I put some page title
> eg. (cont...) or
> something else.
> 
> Thanks
> 
> Jaysheel. 
> 
>
-
> 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]
> 
> 


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



RE: flow must contain block-level children

2005-03-01 Thread Glen Mazza
I don't think that helps, because he still gets the
empty fo:block and hence the blank page.  But by
rearranging your code, perhaps this will work instead:







 



   

I think this will work.  No fo:page-sequence--and
hence no blank page--will be output if there is no
data.

Glen


--- Dennis Myrén <[EMAIL PROTECTED]> wrote:

> Neeru,
> 
> You can test if there are any occurrences of
> CodeDecode, if not then just write out an empty
> block:
> 
> 
>   
>   
>   
>   
>   
>   
>   
>   
>
> 
> 
> 
> Regards,
> Dennis JD Myrén
> Developer
> Oslo Kodebureau
> Tel:  (+47) 98 00 11 92
> Mail:   [EMAIL PROTECTED]
> Web:   www.oslokb.no
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] 
> Sent: 1. mars 2005 16:36
> To: [EMAIL PROTECTED]
> Subject: fo:flow must contain block-level children
> 
> 
> 
> 
> 
> I get the following error
>   fo:flow must contain block-level children
> when I don't have the matching elements in my xml by
> using the following
> code generates the error.
> 
> 
> 
>   
>   
>
> 
> 
> If I replace the above code with the code below I
> get an extra blank page
> and I want to suppress this blank page
> 
> 
> 
>   
>   
>   
>   
>
> 
> 
> Thanks
> 
> -Neeru
> 
>
--
> Le présent message ainsi que ses éventuelles pièces
> jointes est
> exclusivement destiné au(x) destinataire(s),
> personnes physiques ou
> morales, qu'il désigne.
> Il constitue de ce fait une correspondance à
> caractère privé et peut
> contenir des informations confidentielles.
> Si ce message vous est parvenu par erreur, nous vous
> remercions d'en aviser
> immédiatement l'expéditeur par retour de courrier
> électronique puis de le
> détruire, ainsi que ses éventuelles pièces jointes,
> sans en conserver de
> copie.
> 
> 
> This message, including any attachment, is intended
> for the use of the
> individual or entity to which it is addressed.
> It is therefore to be considered as a private
> correspondence which may
> contain confidential information.
> If you are not the intended recipient, please advise
> the sender immediately
> by reply e.mail and delete this message and any
> attachment thereto without
> retaining a copy.
>
--
> 
> 
>
-
> 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]
> 
> 


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



Re: fo:flow must contain block-level children

2005-03-01 Thread Glen Mazza
The problem I think is with your XSLT--you should not
output an fo:page-sequence if you have no block-level
children to generate to begin with.

I'm not an XSLT guru, but I don't think it is that
hard to do.  Would anyone have a sample?

Thanks,
Glen


--- [EMAIL PROTECTED] wrote:

> 
> 
> 
> 
> I get the following error
>   fo:flow must contain block-level children
> when I don't have the matching elements in my xml by
> using the following
> code generates the error.
> 
> 
> 
>   
>   
>
> 
> 
> If I replace the above code with the code below I
> get an extra blank page
> and I want to suppress this blank page
> 
> 
> 
>   
>   
>   
>   
>
> 
> 
> Thanks
> 
> -Neeru
> 
>
--
> Le présent message ainsi que ses éventuelles pièces
> jointes est
> exclusivement destiné au(x) destinataire(s),
> personnes physiques ou
> morales, qu'il désigne.
> Il constitue de ce fait une correspondance à
> caractère privé et peut
> contenir des informations confidentielles.
> Si ce message vous est parvenu par erreur, nous vous
> remercions d'en aviser
> immédiatement l'expéditeur par retour de courrier
> électronique puis de le
> détruire, ainsi que ses éventuelles pièces jointes,
> sans en conserver de
> copie.
> 
> 
> This message, including any attachment, is intended
> for the use of the
> individual or entity to which it is addressed.
> It is therefore to be considered as a private
> correspondence which may
> contain confidential information.
> If you are not the intended recipient, please advise
> the sender immediately
> by reply e.mail and delete this message and any
> attachment thereto without
> retaining a copy.
>
--
> 
> 
>
-
> 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: CSS Mailing list.

2005-02-22 Thread Glen Mazza
Google "CSS Mailing List".

Glen

--- "Puppala, Kumar (LNG-DAY)"
<[EMAIL PROTECTED]> wrote:

> Does anyone know a mailing list where I can post CSS
> related questions?
> 
> Thanks,
> Kumar Puppala
> 
> 
>
-
> 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: Using Date/number datatypes with SAX events (Re: Seeking for expert opinion)

2005-02-18 Thread Glen Mazza
HTH, indeed--exactly the information I was looking
for! 

Thanks,
Glen

--- Jeremias Maerki <[EMAIL PROTECTED]> wrote:

> I'm not sure I'm getting you. Anyway, SAX doesn't
> care about dates or
> floats, only strings, so you'd have to convert these
> datatypes yourself
> to a suitable string representation (dates to
> ISO8601 for example).
> Probably if you're following my example you can
> extend the
> EasyGenerationContentHandlerProxy (awesome name,
> right?) to handle
> special datatypes for you. In the end you simply
> have to call the
> characters() method to send the values as strings.
> HTH.
> 
> On 17.02.2005 22:08:00 Glen Mazza wrote:
> > Jeremias (or others),
> > 
> > I'm converting over at work to this method you're
> > describing below, using the embed sample you
> mention
> > below--everything is going well so far.
> > 
> > Question though:  For date and number types within
> the
> > various objects that represent the data, should I
> use
> > String datatypes instead because of the subsequent
> SAX
> > event handling, or will dates and floats/ints etc.
> > still work fine with this method?
> 
> 
> 
> Jeremias Maerki
> 
> 
>
-
> 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]



Using Date/number datatypes with SAX events (Re: Seeking for expert opinion)

2005-02-17 Thread Glen Mazza
Jeremias (or others),

I'm converting over at work to this method you're
describing below, using the embed sample you mention
below--everything is going well so far.

Question though:  For date and number types within the
various objects that represent the data, should I use
String datatypes instead because of the subsequent SAX
event handling, or will dates and floats/ints etc.
still work fine with this method?

Thanks,
Glen

--- Jeremias Maerki <[EMAIL PROTECTED]> wrote:

> I'd avoid creating XML by string concatenation. Too
> many things that can
> go wrong.
> 
> Please have a look at the embedding examples [1] in
> the FOP distribution.
> There's a particular example [2] that should fit
> nicely with your
> requirements after a few modifications. Instead of
> using a plain Java
> object as a data source you can just as easily
> create an XMLReader
> descendant [3] to create SAX events from a database
> result set. Using
> SAX events will free you from the necessity to
> handle many XML-specifics
> (like character escaping) if you use string
> concatenation. By piping the
> generated SAX events directly through to FOP [2] you
> also have a very
> fast system, as you don't have to parse the XML
> again that you created.
> 
> [1]
> http://xml.apache.org/fop/embedding.html#examples
> [2]
>
http://cvs.apache.org/viewcvs.cgi/xml-fop/examples/embedding/java/embedding/ExampleObj2XML.java?rev=1.4
> [3]
>
http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-fop/examples/embedding/java/embedding/model/ProjectTeamXMLReader.java?rev=1.3
> 
> I hope that helps.
> 
> On 15.02.2005 02:36:58 Manisha Sathe wrote:
> > Initially i tested creating pdf using static
> xml/xsl file using
> > following dos prompt cmd - 
> >  
> > fop -xml myxml.xml -xsl myxsl.xsl -pdf mydoc.pdf
> > 
> > Now i want to generate xml/pdf on fly. User will
> specify search
> > criteria - depending on that i will pick up data
> from database.I want
> > to generate xml from this data and use it to
> create pdf file. 
> >  
> > What is normal practice to do this? 
> >  
> > 1)I am not too sure about how to create XML -
> whether use SAX/DOM or
> > just type it out as a string data 
> > 2)e.g If i generate XML o/p as a string - whether
> can i make use of
> > this XML String to generate pdf ? Or i need to
> write this in a file ?
> >  
> > Pls guide me, if anybody can share sample which
> shows creation of XML
> > and generate pdf from that - would be a greate
> help.
> 
> 
> Jeremias Maerki
> 
> 
>
-
> 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: XSLT Forum

2005-02-16 Thread Glen Mazza
The Mulberry XSLT mailing list...google for it.

Glen

--- Manisha Sathe <[EMAIL PROTECTED]> wrote:

> Any good  XSLT forum where i can post my xslt
> related queries there ?
>  
> regards
> Manisha
>  
>  
> 
>   
> -
> Do you Yahoo!?
>  Yahoo! Search presents - Jib Jab's 'Second Term'


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



Re: Seeking for expert opinion

2005-02-15 Thread Glen Mazza
Thanks for asking this question Manisha (as well of
course for your excellent answers Jeremias and
Holger)--I'm doing the same at work right now and
these responses are helpful for me as well.

Glen

--- Holger Dehnhardt <[EMAIL PROTECTED]> wrote:

> Hi Manisha,
> 
> have a look at
> "http://sourceforge.net/projects/documentserver/";
> and browse the CVS Repository for 
>
documentserver/Document-Server/src/de/lehmanns/documentServer/xmlFormatter
> and have a look at 
> 1) SimpleSqlToXml.java which converts a ResultSet to
> XML in the Form
> 
>  
>  
>  ...
> 
> 
>  ...
> (fast and simple)
> 
> 2) Sql2XmlFormatter.java which converts a ResultSet
> with the help of an 
> structure file to the form
> 
>  
>   
>   ...
>   
>
>...
>   
>  
>  ...
> 
> (Slow but more 'sophisticated')
> 
> Holger
> 
> 
> Am Dienstag, 15. Februar 2005 02:36 schrieb Manisha
> Sathe:
> > Initially i tested creating pdf using static
> xml/xsl file using following
> > dos prompt cmd -
> >
> > fop -xml myxml.xml -xsl myxsl.xsl -pdf mydoc.pdf
> >
> > Now i want to generate xml/pdf on fly. User will
> specify search criteria -
> > depending on that i will pick up data from
> database.I want to generate xml
> > from this data and use it to create pdf file.
> >
> > What is normal practice to do this?
> >
> > 1)I am not too sure about how to create XML -
> whether use SAX/DOM or just
> > type it out as a string data 2)e.g If i generate
> XML o/p as a string -
> > whether can i make use of this XML String to
> generate pdf ? Or i need to
> > write this in a file ?
> >
> > Pls guide me, if anybody can share sample which
> shows creation of XML and
> > generate pdf from that - would be a greate help.
> >
> > regards
> > Manisha
> >
> >
> >
> >
> >
> > -
> > Do you Yahoo!?
> >  Take Yahoo! Mail with you! Get it on your mobile
> phone.
> 

> ATTACHMENT part 2 application/pgp-signature 



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



Re: Embedding Type 1 Polish font

2005-02-07 Thread Glen Mazza
I don't know myself.  But these links may answer your
question:

http://marc.theaimsgroup.com/?l=fop-user&w=2&r=1&s=POLISH&q=b

Also Google on "Apache FOP" & "Polish" perhaps?

Let us know if anything helped.

Glen

--- "Jesiolowski, Dominik"
<[EMAIL PROTECTED]> wrote:

> 
> Hello
> I am trying to produce PDF with polish fonts,
> unfortunately
> necessary characters are not in Base-14 fonts. The
> fonts
> I am trying to use can be found here - they are
> free:
>
http://www.agh.edu.pl/pub/tex/GUST/contrib/fonts/cm-pl/plpsfont.zip
> 
> I have created xml files with font metrics and added
> fonts to
> fop.xml. The PDF I am getting after processing my
> .fo file
> contains text with the right font but polish
> characters
> appear as '#'. My .fo file looks like this:
> 
> 
>  xmlns:fo="http://www.w3.org/1999/XSL/Format";>
>   
>  margin-left="2cm"
> margin-right="2cm" margin-top="2cm"
> master-name="simpleA4"
> page-height="29.7cm" page-width="21cm">
>   
> 
>   
>   
> 
>font-family="PLRomanDemi10">PLRomanDemi10-Regular:
> [polish
> chars here]
> 
>   
> 
> 
> Instead of [polish chars here] I have real polish
> chars encoded correctly in
> UTF-8.
> For example Aogonek [hex: C484].
> 
> Has anyone solved a similiar problem?
> 
> Regards
> Dominik
> 
>
-
> 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: representative example needed

2005-02-07 Thread Glen Mazza
Back so soon, Ilya?  ;)  Welcome to Apache FOP!

Glen

--- Ilya Khandamirov <[EMAIL PROTECTED]> wrote:

> Hi Glen,
> 
> > Oops!  Sorry...Google is giving 2:1 ratio that
> Ilya is
> > male.
> 
> That's right. If you also review other statements of
> yours in this thread,
> you'll understand, that all of them is are just the
> same rubbish. But first
> take a break. You are tired.
> 
> 
> Regards,
> Ilya
> 
> 
> -- 
> Lassen Sie Ihren Gedanken freien Lauf... z.B. per
> FreeSMS
> GMX bietet bis zu 100 FreeSMS/Monat:
> http://www.gmx.net/de/go/mail
> 
>
-
> 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: representative example needed - success story

2005-02-06 Thread Glen Mazza
Thanks for sharing.  FOP was first developed by James
Tauber in the late 1990's[1], which he then donated to
Apache, and now FOP has had multiple "generations" of
developers maintaining it.  

I am seeing that FOP is at its best when it comes to
invoices--mass production of smaller documents, also
it does pretty well at Docbook PDF generation.

For my day position, the main success I've had with
FOP was in switching our online help systems from
manual gotta-maintain-the-appearance-on-every-page
HTML-based RoboHelp to Docbook HTML and PDF (the
latter being generated by FOP).  The online help looks
great, with everything having a standard appearance,
and maintenance costs/time/stress fell maybe 90%. 
Also, the new solution is free.

Also at work, I am currently halfway through moving a
couple of our invoice-sized PDF reports from Oracle
Reports to a Servlet/FOP implementation.  This will be
a second huge XML victory for me--not just my first
dynamic XSL web application in actual production, but
I will then have the web framework in place for more
reports to switch over to XSL more quickly.

BTW, for your conversion of HTML to a XSL-based
system, [2] may be of use for you -- I have not gotten
to this framework yet myself though.

Thanks,
Glen

[1]
http://jtauber.com/2000/fop/acknowledge.html

[2]
http://www.onjava.com/pub/a/onjava/2002/12/11/apache_fop.html


--- "Partridge, Michael" <[EMAIL PROTECTED]>
wrote:

> I suppose now is a good time to share my experience
> with FOP with the
> rest of the mailing list, particularly the FOP
> developers.
> 
> I'm a software developer working for a company that
> does health care
> administration services for many large US companies.
> Many of these
> clients have former employees who enjoy COBRA
> benefits, others provide
> subsidized benefits for their employees or retired
> former employees.
> We've been using FOP for well over a year now,
> creating over 35000
> invoices per month, most of which are available to
> our participants
> online as a static document that they can view or
> download. We're also
> beginning to use FOP to generate all of our client
> level reports,
> although we have yet to undertake the task of
> converting the old C++
> programs that currently generate the reports in HTML
> ;). If that's not
> enough, we're just finishing up a system to generate
> all types of
> different healthcare-related participant letters
> such as open enrollment
> forms using FOP for rendering.
> 
> As for the future, I've just finished implementing
> an OCR scanline
> (using an embedded OCR font) and POSTNET barcode
> (using the fabulous
> barcode4j package at http://barcode4j.krysalis.org)
> on our individual
> invoice stub to save money and time spent matching
> payments to
> participants. 
> 
> In other words, much thanks to all the FOP
> developers past, present, and
> future, for putting so much time into this great
> product!
> 
> Mike
> 


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



Re: 2 problems

2005-02-05 Thread Glen Mazza
Hello Tommaso,

--- Tommaso Taglioni <[EMAIL PROTECTED]> wrote:
>
> First problem: In my xml there is a tag "ndr" that
> is present one or more
> times in a specified point.The problem is that I
> don't have to process it as
> a normal  but I have to
> insert the content of this
> tag in the cover of my PDF and not in the rest of
> the PDF pages.So,how can I
> insert the content of a tag in a point of the PDF
> that I want?
> 

"insert the content of this tag in the cover of the
PDF and not on the other pages" --> "do something on
one set of pages but not on others" --> use a separate
fo:page-sequence for the cover page.

"I don't have to process it as a normal  but I have to insert the content of this
tag" --> copy the value of a tag --> use xsl:copy?


> Second Problem:it's possible to say something as
> "when you find the tag H1
> go to new page(start a new page)" in the XSL-FO?
> 

I would use separate fo:page-sequences for that as
well (I think).  You seem to be doing standard
HTML->FO conversion.  [1] may be of use for you.

[1]
http://www-106.ibm.com/developerworks/library/x-xslfo2app/

Glen


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



Re: representative example needed

2005-02-05 Thread Glen Mazza
Thanks!  Success stories ([1] is my favorite)--as well
as failures (honesty of its limitations also being
helpful in increasing confidence in FOP)--are always
welcome on this list.

Glen

[1]
http://marc.theaimsgroup.com/?l=fop-user&m=107763815607390&w=2


--- Markus Rietzler <[EMAIL PROTECTED]> wrote:

> we are using FOP to generate tickets for an
> online-ticketing-solution.
> 
> for certain events listed in our online calendar it
> is possible to order 
> tickets online. payments in the online-shop are
> handled via bank account 
> or credit card. after purchase the ticket is
> produced as a pdf document.
> this pdf file can be downloaded and printed out and
> provides all infos 
> to attend the event.
> 
> at the moment we are working to implement a seat
> reservation module for 
> our online ticket shop.
> 
> markus rietzler
> 
> 


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



Re: representative example needed

2005-02-04 Thread Glen Mazza
--- Glen Mazza <[EMAIL PROTECTED]> wrote:

> --- [EMAIL PROTECTED] wrote:
> >
> > I was also taken aback by what seems to be a plug
> > for RenderX. 
> 
> RenderX is, again, a fine company.  It is run by
> very
> talented people of solid integrity.  I have no
> problem
> endorsing them for Ilya, and I'm sure they will be
> able to provide her the level of customer support
> that
> she needs.
  ^^^

Oops!  Sorry...Google is giving 2:1 ratio that Ilya is
male.

Glen


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



Re: representative example needed

2005-02-04 Thread Glen Mazza
--- [EMAIL PROTECTED] wrote:
>
> I was also taken aback by what seems to be a plug
> for RenderX. 

RenderX is, again, a fine company.  It is run by very
talented people of solid integrity.  I have no problem
endorsing them for Ilya, and I'm sure they will be
able to provide her the level of customer support that
she needs.


< FOP does 
> all that I need, so I've never looked at RenderX,

Indeed, as it does for most XSL users, but it won't do
all that *Ilya* needs.  She needs heavy-duty,
I-don't-even-want-to-check-the-website-for-examples
customer support, and open source is simply not the
best model for that type of user.


> and this doesn't seem a 
> like a logical forum in which to plug a commercial
> product.

Sometimes unfortunately we have to.  She's doing a
product comparison, and has an evident requirement of
hand-holding customer support that open source simply
can't provide.  (For example, wanting the FOP team to
manually provide examples to her, instead of her going
to the website or the examples/ directory of our
distribution.)  Hence, my recommendation for her to
look for a commercial product.

As for her "Oh I'm continuing to compare FOP and
RenderX...", "the FOP project seems dead...", "Oh,
Glen, did you just call your team incompetent
buffoons", etc., etc., it appears to me just intended
to intimidate the team into providing 24x7 support for
her, as if the FOP world is going to end if she
chooses RenderX instead.  I will not play that game.  

I'm calling her bluff...she's most welcome to go to
RenderX.

Glen


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



Re: representative example needed

2005-02-04 Thread Glen Mazza
Indeed, RenderX is a very solid product run by a very
professional company.  It would be hard to go wrong
with them.

Glen

--- Ilya Khandamirov <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> I need a representative exampe, of what is possible
> to do with FOP. For
> example, RenderX XEP comes with XML versions of XML,
> XSLT and XPath specs
> and a stylesheet to convert them to XSL-FO (say
> PDF). The generated PDFs
> look very impressive.
> 


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



Re: Trouble getting fop to work with cocoon CLI

2005-02-01 Thread Glen Mazza
Google on "Unsupported element encountered" (with
quotes).  I'm seeing 55 hits.

Glen


--- Peter Gustafsson <[EMAIL PROTECTED]> wrote:

> Hi.
> 
> I have this strange problem with fop in combination
> with cocoon.
> 
> What I try to do is to make a offline archive of my
> cocoon pdf files. I use 
> the cocoon command line interface (CLI) to
> accomplish this. The problem 
> however is that fop fail's to render images. It
> prints out the error message 
> shown below and omits the image from the output,
> hence the pdf is rendered 
> without the image.
> 
> "
> ERROR   2005-02-01 07:33:01.749 [manager.] ():
> Unsupported element 
> encountered: external-graphic (Namespace: default).
> Source context: 
> file:/C:/software/tomcat/webapps/cocoon/index.fo
> (line: 1, col: 1)
> ERROR   2005-02-01 07:33:01.759 [manager.] ():
> Expected XSL-FO (root, 
> page-sequence, etc.), SVG (svg, rect, etc.) or
> elements from another 
> supported language.
> ERROR   2005-02-01 07:33:01.829 [manager.] (): no
> handler defined for 
> external-graphic foreign xml
> "
> 
> If I render the pdf the normal way, using cocoon as
> a servlet the result is 
> as desired, the same is true when I use the CLI to
> generate the xsl-fo xml 
> and after that uses fop.bat on the xml.
> 
> My first thought was that my java environment used
> the wrong Xerces or Xalan 
> files. However the problem persisted even after
> placing the same Xalan and 
> Xerces files found in my tomcat endorsed folder in
> the jre endorsed folder.
> 
> The error message indicate that the namespace of the
> external-graphic 
> element is omitted for some reason. When trying to
> use a none existing fo 
> element such as  the same error
> message is shown. However 
> the Namespace : default is change to Namespace: 
> http://www.w3.org/1999/XSL/Format) for the blablabla
> object.
> 
> I run Cocoon 2.0 binary version. and fop 0.20.5. I
> have tried to do a 
> complete reinstall of cocoon (only updating the
> batik.jar so that cocoon 
> will start on tomcat5). In this test environment I
> used a minimal sitemap 
> and a static xsl:fo file. The result is the same.
> The pdf is generated as it 
> should when called through the cocoon servlet but
> fails when called through 
> the CLI.
> 
> If anyone has had this problem I would be very happy
> to find a solution. I 
> have no problem making some adjustments to cocoon or
> fop source files but as 
> it is now I don't know where to start looking for
> the problem.
> 
> Best regards
> Peter Gustafsson
> 
> 
> 
>
-
> 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: XSLTInputHandler setParameter

2005-01-31 Thread Glen Mazza
--- Gang Li <[EMAIL PROTECTED]> wrote:
>  
> Has anybody had problem with XSLTInputHandler's
> setParameter method? 

It's usually best to forget about XSLTInputHandler,
and just use JAXP[1] instead.  Also note this example
has a setParameter() call to show you how parameters
work with FOP.

[1]
http://cvs.apache.org/viewcvs.cgi/xml-fop/examples/embedding/java/embedding/ExampleXML2PDF.java?rev=1.10

> Also: does anybody know how can I set the PDF file
> name for the streamed
> PDF object? I am getting the PDF streamed back to
> the browser, but I
> want it to be able to print with a specific name. I
> don't know how to do
> it. Anybody else?
> 

Hopefully this will help: 
http://marc.theaimsgroup.com/?l=fop-user&m=10591000465&w=2

Glen

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



Re: HTML Tables converted to FO Tables

2005-01-29 Thread Glen Mazza
A Google (hint... ;) on "HTML tables to FO conversion"
yielded [1], as well as many other hits.

HTH,
Glen

[1]
http://www-106.ibm.com/developerworks/library/x-xslfo2app/

--- Chris Greene <[EMAIL PROTECTED]> wrote:

> Folks,
> 
> I'm hoping that someone has already solved this
> problem...
> 
> --- I have an input XML file that has a  tag
> which contains an 
> HTML  as its content.
> --- If I save the HTML content to a file and open it
> in a browser, the 
> browser very nicely formats the table with, I
> suspect, some 
> heuristically computed column widths.
> --- Since FO requires that you explicitly specify
> the column-width of 
> each column in a table I suppose that my XSL file
> needs to do something 
> like a browser does to compute the column-widths.
> 
> Has anyone written an XSL file to create FO tables
> from HTML tables?
> 
> Thanks,
> Chris
> 
>
-
> 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: Need a little help

2005-01-24 Thread Glen Mazza
I may be missing something here, but shouldn't the
flow-name be "xsl-region-before"[1]?

Glen

[1]
http://www.w3.org/TR/2001/REC-xsl-20011015/slice7.html#region-name

--- Luke Shannon <[EMAIL PROTECTED]> wrote:
> 
> 
> 



> 
> 



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



Re: Release scedule for FOP 1.0

2005-01-10 Thread Glen Mazza
--- Chris Bowditch <[EMAIL PROTECTED]> wrote:

> Jens Skripczynski wrote:
> 
> > 
> > Are there any plans to release a 1.0-prealpha1 ?
> > How long will it at least / at most take for a
> next release ?
> 

You can download the nightly build of our redesign
branch--that will easily give you the equivalent of a
1.0-prealpha1 (if not more).  But a release is
time-consuming, will not provide you any more
functionality over the nightly build, and it will
actually delay us from getting additional progress
into 1.0.  It would just be smoke-and-mirrors at this
stage, giving users a false impression of completeness
while taking us away from the job of *really* getting
it done.

Also developer reputations are an issue, I suspect
most committers would be reluctant to associate their
names with an official release that is considerably
unfinished/substandard.

Glen


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



Re: create arabic pdf

2004-12-26 Thread Glen Mazza
Hello,

I don't know if FOP has this capability, but a search
on "Arabic" in our archives [1] ("Hebrew" may help as
well, as that's another R-to-L language) is giving
several links that may answer your question.

Also a Google on "FOP Arabic" (without the quotes)
gives thousands of hits.

Let us know if you're able to get it done, and which
link(s) helped you the most.

Thanks,
Glen

[1]
http://marc.theaimsgroup.com/?l=fop-user&w=2&r=1&s=arabic&q=b


--- nafise hassani <[EMAIL PROTECTED]> wrote:

> hi
> Anybody knows how to Create PDF with Arabic words?
> 
> Seems FOP-0.20.5(cocoon use it in its pdf
> serializer)
> cannot handle Arabic glyphs/ligature properly. It
> can
> only display the Arabic characters but the rules to
> ligate them together cannot be displayed.
> also it show chars from left to right but  arabic is
> a
> right to left language 
> 
> suggestion??
> 
> 
>   
> __ 
> Do you Yahoo!? 
> Dress up your holiday email, Hollywood style. Learn
> more. 
> http://celebrity.mail.yahoo.com
> 
>
-
> 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: Printing PDF on the client default printer.

2004-12-01 Thread Glen Mazza
Thanks for your (and Manoj's) explanation.  I didn't
know how this was done.  Good work Manoj!

Glen

--- "J.Pietschmann" <[EMAIL PROTECTED]> wrote:

> Glen Mazza wrote:
> > Intranet or internet, same issues, no?
> 
> The problem has been discussed several times and is
> even
> mentioned in the FAQ. The common recommendation is
> to
> provide something to the browser which can redirect
> the
> PDF to the client's local printer, an simple ActiveX
> (IEx
> only) or a Java applet (which has to be granted some
> rights, not difficult to arrange in a corporate
> setup).
> A Java applet could even render the PDF on the
> client,
> the only problem is the large Jar download for
> FOP+friends,
> which can be circumvented by pre-installation.
> 
> J.Pietschmann
> 
>
-
> 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: Printing PDF on the client default printer.

2004-12-01 Thread Glen Mazza
Intranet or internet, same issues, no?

Glen

--- [EMAIL PROTECTED] wrote:

-
I forgot to mention that all our international offices
are connected to our LA  headoffice via
Intranet...

-Glen Mazza <[EMAIL PROTECTED]> wrote: -

To: [EMAIL PROTECTED]
From: Glen Mazza <[EMAIL PROTECTED]>
Date: 11/30/2004 09:12AM
Subject: Re: Printing PDF on the client default
printer.

That seems odd--HTTP normally won't (can't?) work that
way.  It seems tantamount to saying that one can make
an HTTP request from one browser and have the response
sent to another browser (on a different machine).

Would you mind getting into some details of how you
managed that?

Thanks,
Glen


--- [EMAIL PROTECTED] wrote:


-
Just wanted everyone to know that I have successfully
implemented client side printing using FOP
 
Eg: If the XML file gets created on the webserver
which is located in Los Angeles and the user in
London, then the XML is converted to PDF and the PDF
file is printed on the clients default printer in
London.
 
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]



Re: Printing PDF on the client default printer.

2004-11-30 Thread Glen Mazza
That seems odd--HTTP normally won't (can't?) work that
way.  It seems tantamount to saying that one can make
an HTTP request from one browser and have the response
sent to another browser (on a different machine).

Would you mind getting into some details of how you
managed that?

Thanks,
Glen


--- [EMAIL PROTECTED] wrote:


-
Just wanted everyone to know that I have successfully
implemented client side printing using FOP
 
Eg: If the XML file gets created on the webserver
which is located in Los Angeles and the user in
London, then the XML is converted to PDF and the PDF
file is printed on the clients default printer in
London.
 
Thanks
Manoj



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



Re: fop text renderer

2004-11-11 Thread Glen Mazza
I suspect it would be best and simplest to download the source code, and 
modify the text renderer.

Glen
Osman Çinar Eren schrieb:
hi,
i create a table in pdf which is OK. when i use the TXT renderer, the spaces in 
the cells are replaced by hyphens. how can i disable this behavior?
i want spaces for spaces.:)
thanks in advance.
best regards..
-
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: Printing PDF on the client default printer.

2004-10-20 Thread Glen Mazza
--- [EMAIL PROTECTED] wrote:
>
> I already have an applet on the client side which
> uses PrinterJob class to
> popup the printer selection box on client side.
> 
> Now how do I redirect the content from server to
> this printer?
> 

I don't think you can, because of applet sandbox
rules.  They just can't wander over to other machines,
including printers.  But I may be incorrect here.

> Should I use Driver.RENDER_PRINT / Driver.RENDER_PCL
> set in the fop driver
> renderer ? 

No, those are non-PDF devices.  One is Java2D, the
other is HP printer control language.


> and what content type should the response
> object return?
> 
> Thanks
> Manoj
> 
> PS: I have successfully use the FopPrinter example (
> FopPrintServlet ) to
> print pdfs on the app servers default printer but
> what I need is to be able
> to print on the clients default printer and not on
> servers printer.
> 

This issue has come up in the past, and (I believe)
the normal suggestion is to change your requirements. 
Isn't it strange to go to a website and have something
automatically print out of your printer?

Glen

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



Re: Newbie: Fopservlet problem

2004-09-20 Thread Glen Mazza
I'm not an expert on this either--hopefully others can add to this--but, 
yes, that library, as well as xercesImpl*.jar and xml-apis.jar are the 
three that may need replacing within your servlet container.  Replacing, 
however, can create other problems--the Xalan library can be buggy--so 
of course save the older versions you replaced.  Getting the latest 
versions from Xerces and Xalan projects instead of using the ones in 
fop-dir/lib may also be a good idea if the above doesn't work.

Glen
Erik Trip schrieb:
Hello,
Thanks for the response.
As said, I'm completely new to this. I searched my file system and
filesystem and found xalan-2.4.1.jar
Is this the one you mean. It is located in yhe lib directory of fop.
Regards Erik
-Oorspronkelijk bericht-
Van: Glen Mazza [mailto:[EMAIL PROTECTED] 
Verzonden: maandag 20 september 2004 13:06
Aan: [EMAIL PROTECTED]
Onderwerp: Re: Newbie: Fopservlet problem

It may be Xalan-related, because the first URL below (which works) does
not use Xalan while the others do.  Perhaps use newer versions of the
XML jars?
Glen
Erik Trip wrote:
 

Hello,
I'am using the standard fopservlet program (fop.war). I deployed it on
   

 

the Oracle 10g application server.
When i use the following url:
http://demo-01.decade.nl/fop/fopservlet?fo=c:\temp\readme.fo
<http://demo-01.decade.nl/fop/fopservlet?fo=c:%5Ctemp%5Creadme.fo>
everything works fine
When I use:
http://demo-01.decade.nl/fop/fopservlet?xsl=c:\temp\testdata.xsl&xml=c
:\temp\testdata.xml&ext=.pdf 
<http://demo-01.decade.nl/fop/fopservlet?xsl=c:%5Ctemp%5Ctestdata.xsl&;
xml=c:%5Ctemp%5Ctestdata.xml&ext=.pdf>
or
http://demo-01.decade.nl/fop/fopservlet?xsl=c:\temp\testdata.xsl&xml=c
:\temp\testdata.xml 
<http://demo-01.decade.nl/fop/fopservlet?xsl=c:%5Ctemp%5Ctestdata.xsl&;
xml=c:%5Ctemp%5Ctestdata.xml>

I get:
500 Internal server error
org.apache.fop.apps.FOPException: XSL-1000: (Fatal Error) Error while 
parsing XSL file (null).
Any help would be appreciated.
Regards Erik

   


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


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


Re: Newbie: Fopservlet problem

2004-09-20 Thread Glen Mazza
It may be Xalan-related, because the first URL below (which works) does 
not use Xalan while the others do.  Perhaps use newer versions of the 
XML jars?

Glen
Erik Trip wrote:
Hello,
I'am using the standard fopservlet program (fop.war). I deployed it on 
the Oracle 10g application server.
When i use the following url:
 
http://demo-01.decade.nl/fop/fopservlet?fo=c:\temp\readme.fo 

everything works fine
When I use:
http://demo-01.decade.nl/fop/fopservlet?xsl=c:\temp\testdata.xsl&xml=c:\temp\testdata.xml&ext=.pdf 

or
http://demo-01.decade.nl/fop/fopservlet?xsl=c:\temp\testdata.xsl&xml=c:\temp\testdata.xml 

 
I get:
500 Internal server error
org.apache.fop.apps.FOPException: XSL-1000: (Fatal Error) Error while 
parsing XSL file (null).
Any help would be appreciated.
Regards Erik
 
 

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


Re: deprecated methods in servlet example

2004-09-19 Thread Glen Mazza
It's just a deprecation warning, so can be ignored.  I
guess 0.20.5 did not keep the servlet examples up to
date with respect to the then-API.  

You may wish to look at the JAXP examples on our
"embed" page--we recommend that method for embedding
FOP.

Thanks,
Glen

--- Sandy Soesilo <[EMAIL PROTECTED]> wrote:

> Hi people,
> 
> i'm trying to run the example that I found in FOP
> release 0.20.5
> (stable release,not from cvs)
> it works fine under the dos console, but under
> servlet I found some
> methods that are deprecated...
> 
> driver.render(input.getParser(),
> input.getInputSource());
> ..
> with these error code :
> - The method getParser() from type
> org.apache.fop.apps.XSLTInputHandler is deprecated
> - The method getInputParser() from type
> org.apache.fop.apps.XSLTInputHandler is deprecated
> ...
> I' running j2sdk1.4.2_05 with eclipse 3.0  and yes,
> I already include
> all the libs .( xalan,avalon,xerces,xml-api ..)
> 
> any idea ??? I''ve spent hours reading the docs and
> the mailing list,
> but I found nothing really helpful,... thanks a lot
> guys
> 
> sandy
> 
>
-
> 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: Fw: Splitting large XML file into small XMLs

2004-09-17 Thread Glen Mazza
Thanks for voluteering, Stefano.  ;-)

--- Chizzolini Stefano <[EMAIL PROTECTED]> wrote:

> Every time a question seemed abusive of the
> mailing-list policy, it would be
> nice to remind the abuser that an exhaustive guide
> for the proper use of
> this m-l is available here:
> http://xml.apache.org/fop/maillist.html
> 
> ;-)
> 
> Regards,
> Stefano Chizzolini
> 


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



RE: problem with XSLTInputHandler(String,String) constructor

2004-09-17 Thread Glen Mazza
Better yet, don't even use XSLTInputHandler.  Use JAXP
instead--see the embedded page for examples.

Glen


--- Chris Pratt <[EMAIL PROTECTED]> wrote:

> The new InputStream(String) constructor takes an XML
> SystemID, not the XML Content.  Try wrapping your
> XML content in a StringReader.
>   (*Chris*)
> 
> Original Message ---
> Hi all,
> I have problem with XsltInputHandler. I tried with
> the following code.But
> its not working.I worked with XsltInputHandler
> (file,file)constructor. It
> worked fine.Please tell me what is the problem.I
> want to pass xml and xsl as
> string.Please help me.Thanks in advance
> 
> 
> xsl is a string contains my
> xsl file
> xml is a string contains my
> xml file
> 
> InputSource is1=new InputSource(xsl);   
> 
> InputSource is2=new InputSource(xml);
> 
> XSLTInputHandler inputHandler = new
> XSLTInputHandler(is1,is2);
> //XSLTInputHandler inputHandler = new
> XSLTInputHandler(xml,xsl);
> ByteArrayOutputStream outStream = new
> ByteArrayOutputStream();
> 
> driver.setOutputStream(outStream);
> 
> driver.render(inputHandler.getParser(),
> inputHandler.getInputSource());
> 
> byte[] content =
> outStream.toByteArray();
> res.setContentLength(content.length);
> 
> res.setContentType("application/pdf");
> 
>res.getOutputStream().write(content);
>res.getOutputStream().flush();
> 
>outStream.close();
> 
> 
> //I ALSO TRIED WITH XSLTInputHandler inputHandler =
> new
> XSLTInputHandler(xml,xsl);
> // means XSLTInputHandler(String,String) constructor
> 
> 
> 
> 
> 
>
**
> This email and any files transmitted with it are
> confidential and
> intended solely for the use of the individual or
> entity to whom they
> are addressed. If you have received this email in
> error please notify
> the system manager.
> 
> This footnote also confirms that this email message
> has been swept by
> MIMEsweeper for the presence of computer viruses.
> 
> www.mimesweeper.com
>
**
> 
> 
>
-
> 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: Splitting large XML file into small XMLs

2004-09-17 Thread Glen Mazza
Bhaskar,

Please ask non-FO questions on the Mulberry XSLT
list--google for it.

Thanks,
Glen


--- [EMAIL PROTECTED] wrote:

> Hi guys,
> 
>  
> 
> I have large XML file it has thousands
> of XML files embedded
> in it tell a better way to separate this.
> 
>  
> 
> This is the format of file:
> 
>  
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  
> 
>  
> 
>  
> 
> 
> 
> 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: does FOP get progress?

2004-09-17 Thread Glen Mazza
--- Eclipse <[EMAIL PROTECTED]> wrote:
> Hello,
> i have a probelm with keep Atribute with next.
> 
> i hope somebody can tell me weather the FOP Project
> is still in progress.
> 

Very much so.

Glen


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



Re: id already exists

2004-09-06 Thread Glen Mazza
Oh--I didn't know.  Thanks.
J.Pietschmann schrieb:
Glen Mazza wrote:
Please do, so we can keep it in mind.

The issue is well known, the reasons understood. There
are already multiple open reports in bugzilla for
various specific cases.
J.Pietschmann
-
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: id already exists

2004-09-04 Thread Glen Mazza
Jean-Philippe Guérard schrieb:
BTW, should I file a bug about this issue?
Thanks.
 

Please do, so we can keep it in mind.  Maintenance branch (0.20.5) is 
frozen, but in case this appears in our upcoming 1.0 version, it would 
be good for us to have a source FO to work with.

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


Re: id already exists

2004-09-04 Thread Glen Mazza
One possibility is that you forgot to set a needed attribute within your 
Docbook source, that would be used by the XSL stylesheets to generate a 
unique ID value.

I would try to minimize your docbook xml to zero in on the precise problem.
A search on "already exists in this document" in the DOCBOOK-APPS 
mailing list (google for it) may also help you find the problem.

Glen
Jean-Philippe Guérard schrieb:
Hello!
I'm trying to generate PDF and PS document with FOP (from a DocBook XML 
source converted to FO). For a couple of documents, I always end up with 
the following error:

[ERROR] file:/home/fevrier/essai.fo:48:206 The id "id2455426" already 
exists in this document

I tried to build the FO file with both xsltproc and xalan, with the same 
result each time.

The FO file is available here: http://tigreraye.org/essai.fo
I checked within the FO file, and failed to find the duplicate ID.
Any idea?
Thanks in advance!
Best Regards.
 


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


Re: pdf creation without file operations

2004-08-30 Thread Glen Mazza
Take a look at the samples on our embedded page:
http://xml.apache.org/fop/embedding.html

You may find an example useful for your work.

Glen

--- Peter <[EMAIL PROTECTED]> wrote:

> hello list,
> 
> I have a question:
> 
> is in FOP a way, to give, e.g. the PDF Output, in a
> stream to a java
> application.
> 
> reason: only RO access to the webserver where FOP
> ist running.
> 
> thanks people.
> 
> so long
> Peter Reiner
> 
> 
> 
>
-
> 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: Question about

2004-08-23 Thread Glen Mazza
We have a leader.fo sample in the examples/fo/basic
directory that may be of help to you.

Glen

--- "Abney, Robby" <[EMAIL PROTECTED]> wrote:

> Hello.  I had a question about using leaders in FO. 
> I'm trying to
> generate a PDF document that contains a department
> name followed by dots
> and finally a phone number.
> 


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



RE: Please help me( Error in Servlet to run fop)

2004-08-20 Thread Glen Mazza
Did you also include the batik.jar and avalon.jar?  I
don't have any more answers at this stage.  You may
wish to send your question to the Tomcat-Users list,
they may be able to understand your exception list
more easily and can point you to the problem.

I would also search the Tomcat-Users and Struts-Users
(even though you're not using Struts) lists for "FOP",
hopefully someone has had your problem.  Also, search
this mailing list (URL below will also get you there)
for "Servlet"--see if you can a simpler example that
works.

Also, what happens if you comment out the FOP portions
of your Servlet--does it work then?  

Glen

[1]
http://marc.theaimsgroup.com/?l=tomcat-user&w=2&r=1&s=FOP&q=b

--- [EMAIL PROTECTED] wrote:

> Hello Glen,
> 
>   I am set path for jar files correctly and also I
> already
> replaced my jar files with new ones. Also I am
> sending the log file
> generated by Tomcat.
> 
> Please advise me.
> 
> And thanks for your suggestions.
> 
> Regards,
> Bhaskar
> 
> -Original Message-
> From: Glen Mazza [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, August 19, 2004 10:02 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Please help me( Error in Servlet to run
> fop)
> 
> Hello Bhaskar, 
> 
> Looking at the error stack at the point where FOP
> was
> invoked, it is possible you're having a problem with
> the xerces and xalan jars in the servlet container.
> 
> Either (1) they're not present in either the shared/
> or common/ directories of the servlet container, or
> (2) they are, but they're old/buggy versions.  My
> guess would be (1)--it just can't find the XML
> libraries.  
> 
> HTH,
> Glen
> 
> 
>
org.apache.xerces.util.ObjectFactory.createObject(ObjectFactory.java:120
> )
>   at
>
org.apache.xerces.parsers.SAXParser.(SAXParser.java:140)
>   at
>
org.apache.xerces.parsers.SAXParser.(SAXParser.java:125)
>   at
>
org.apache.xerces.jaxp.SAXParserImpl.(SAXParserImpl.java:102)
>   at 
>
org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(SAXParserFactor
> yImpl.java:95)
>   at
>
org.apache.fop.apps.Driver.getParserClassName(Driver.java:208)
> 
> 
> --- [EMAIL PROTECTED] wrote:
> 
> > Hi everybody,
> > 
> >  
> > 
> > I am using fop to generate report. I
> > have set the path of
> > JAR file properly. But when tried to create object
> > for Driver() class it
> > is throwing an error.
> > 
> > I sending attachment (Error.txt) file containing
> > error message and I
> > using Tomcat1.4.
> > 
> >  
> > 
> > Thanks in advance.
> > 
> >  
> > 
> > Regards,
> > 
> > Bhaskar
> > 
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 
> 
> > 2004-08-20 10:51:08 HostConfig[localhost]:
Deploying
> configuration descriptor admin.xml
> 2004-08-20 10:51:09 HostConfig[localhost]: Deploying
> configuration descriptor manager.xml
> 2004-08-20 10:51:09 WebappLoader[/manager]:
> Deploying class repositories to work directory
> C:\Program Files\Apache Group\Tomcat
> 4.1\work\Standalone\localhost\manager
> 2004-08-20 10:51:09 ContextConfig[/manager]:
> Configured an authenticator for method BASIC
> 2004-08-20 10:51:09 StandardManager[/manager]:
> Seeding random number generator class
> java.security.SecureRandom
> 2004-08-20 10:51:09 StandardManager[/manager]:
> Seeding of random number generator has been
> completed
> 2004-08-20 10:51:09
> StandardWrapper[/manager:default]: Loading container
> servlet default
> 2004-08-20 10:51:09
> StandardWrapper[/manager:invoker]: Loading container
> servlet invoker
> 2004-08-20 10:51:09 HostConfig[localhost]: Deploying
> web application directory bas
> 2004-08-20 10:51:09 StandardHost[localhost]:
> Installing web application at context path /bas from
> URL file:C:\Program Files\Apache Group\Tomcat
> 4.1\webapps\bas
> 2004-08-20 10:51:09 WebappLoader[/bas]: Deploying
> class repositories to work directory C:\Program
> Files\Apache Group\Tomcat
> 4.1\work\Standalone\localhost\bas
> 2004-08-20 10:51:09 WebappLoader[/bas]: Deploy class
> files /WEB-INF/classes to C:\Program Files\Apache
> Group\Tomcat 4.1\webapps\bas\WEB-INF\classes
> 2004-08-20 10:51:09 WebappLoader[/bas]: Deploy JAR
> /WEB-INF/lib/avalon-framework-cvs-20020806.jar to
> C:\Program Files\Apache Group\Tomcat
>
4.1\webapps\bas\WEB-INF\lib\avalon-framework-cvs-20020806.jar
> 2004-08-20 10:51:09 WebappLoader[/bas]: Deploy JAR

Re: Having trouble removing linefeeds

2004-08-20 Thread Glen Mazza
Thanks, Chris, that solved it.

Glen

--- Chris Bowditch <[EMAIL PROTECTED]> wrote:

> Glen Mazza wrote:
> 
> 
> 
> > 
> >
> >  System Codes 
> >   > retrieve-position="first-starting-within-page"
> > retrieve-boundary="page"
> retrieve-class-name="code"/>
> >  -
> 
> Glen, I think this is your problem. Try placing the
> minus inside a fo:inline 
> instead of a fo:block.
> 


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



Re: FOP extension development (newbie)

2004-08-19 Thread Glen Mazza
--- Peter Verhoye
<[EMAIL PROTECTED]> wrote:

> I know, this is already possible but the goal is to
> be able to insert a 
> generated image in a PDF document on the fly.
> I can't use a servlet so no help there.
> 

Instead of an extension element--*very* complex--can't
you use XSLT to generate your FO stylesheet, possibly
using xsl:param to dynamically choose the graphic
desired?

Glen


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



Re: Please help me( Error in Servlet to run fop)

2004-08-19 Thread Glen Mazza
Hello Bhaskar, 

Looking at the error stack at the point where FOP was
invoked, it is possible you're having a problem with
the xerces and xalan jars in the servlet container.

Either (1) they're not present in either the shared/
or common/ directories of the servlet container, or
(2) they are, but they're old/buggy versions.  My
guess would be (1)--it just can't find the XML
libraries.  

HTH,
Glen


org.apache.xerces.util.ObjectFactory.createObject(ObjectFactory.java:120)
at
org.apache.xerces.parsers.SAXParser.(SAXParser.java:140)
at
org.apache.xerces.parsers.SAXParser.(SAXParser.java:125)
at
org.apache.xerces.jaxp.SAXParserImpl.(SAXParserImpl.java:102)
at 
org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(SAXParserFactoryImpl.java:95)
at
org.apache.fop.apps.Driver.getParserClassName(Driver.java:208)


--- [EMAIL PROTECTED] wrote:

> Hi everybody,
> 
>  
> 
> I am using fop to generate report. I
> have set the path of
> JAR file properly. But when tried to create object
> for Driver() class it
> is throwing an error.
> 
> I sending attachment (Error.txt) file containing
> error message and I
> using Tomcat1.4.
> 
>  
> 
> Thanks in advance.
> 
>  
> 
> Regards,
> 
> Bhaskar
> 


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



Re: AW: AW: Error while using fop: [ERROR] org.apache.fop.apps.FOPException: master-reference

2004-08-19 Thread Glen Mazza
Matthias,

I would recommend looking through the on-line
tutorials offered by the commercial implementations
(at www.renderx.com, www.antennahouse.com) first in
order to learn about XSL.  

Then, run each of the FOP examples in the examples/fo
directory of the FOP distribution.  Take notes on what
you can use for your own work--look at the underlying
code.

Although in a ruder tense than I would use, I think
Michael Kay's recent advice for an XSLT newbie [1] may
be relevant here.  Learn a bit more before you start
working!

Regards,
Glen

[1]
http://www.biglist.com/lists/xsl-list/archives/200407/msg00114.html

--- Mosimann Matthias <[EMAIL PROTECTED]>
wrote:

> Sorry but I'm very new to xml - techniques, study it
> for a couple of days. So I'm a little bit confused.
> I don't know what I should do for solving this
> error. I read the FAQ ... But I think there is no
> solution?!
> 
> Could anybody give me some advice? Many thanks for
> your answers. If anyone needs the xsl file and the
> xml file pls ask for them.
> 
> 
> regards
> 
> Matthias
> 
> -Ursprüngliche Nachricht-
> Von: J.Pietschmann [mailto:[EMAIL PROTECTED] 
> Gesendet: Montag, 16. August 2004 21:31
> An: [EMAIL PROTECTED]
> Betreff: Re: AW: Error while using fop: [ERROR]
> org.apache.fop.apps.FOPException: master-reference
> 
> 
> Mosimann Matthias wrote:
> > [ERROR] org.apache.fop.apps.FOPException: No
> meaningful layout in 
> > block after many attempts.  Infinite loop is
> assumed.  Processing 
> > halted.
> 
> FAQ (again):
>   http://xml.apache.org/fop/faq.html#fop-hangs
>   http://xml.apache.org/fop/faq.html#boxoverflow
> 
> I think we should update the Q title.
> 
> J.Pietschmann
> 
> > 


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



Having trouble removing linefeeds

2004-08-17 Thread Glen Mazza
Hello,

Within an fo:table-cell, I wish to have an output
similar to the following:

System Codes 25-30

Where 25 and 30 are calculated using fo:markers.

The FO snippet is as follows:


   
 System Codes 
 
 -
 
  


When running this, however, I'm getting this output:

System Codes 25
-
30

I.e., without the linefeeds being removed.

Question:  What is the combination of
white-space-collapse, white-space-treatment, and/or
linefeed-treatment I need to use, and where should I
specify them in the snippet above, in order to get the
output as desired?

Thanks,
Glen

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



Re: different input type to org.apache.fop.apps.XSLTInputHandler;

2004-08-17 Thread Glen Mazza
Besides Chris' answer, I would also recommend
switching to JAXP.  Look at our examples on this page:

http://xml.apache.org/fop/embedding.html

Also, please remember to unsubscribe from the FOP user
lists (as well as any other) when you go on vacation,
so we don't receive your "out of the office" messages.
 

Thanks,
Glen

--- Andrew S Moy <[EMAIL PROTECTED]> wrote:

> 
> 
> 
> 
> Hi,
> 
> The constructor of
> org.apache.fop.apps.XSLTInputHandler takes the XML
> file
> and XSL file.  I was wondering if anyone knows other
> XSLTInputHandler which
> takes some source of input stream objects.  This way
> we don't have to write
> the data to a physical file and knowing that it will
> be read again from the
> InputHandler.  Reading/writing from/to a physically
> media is always slower
> that from/to the system memory.
> 
> Thanks,
> 
> 
> Andy
> 
> 
>
-
> 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: org.w3c.dom.Document to PDF...

2004-08-16 Thread Glen Mazza
This example may help you:

http://cvs.apache.org/viewcvs.cgi/xml-
fop/examples/embedding/java/embedding/ExampleDOM2PDF.java?rev=1.9


--- "Rodrigo Reyes C." <[EMAIL PROTECTED]>
wrote:

> Does anyone out there has some code to translate a
> org.w3c.dom.Document 
> object to PDF? I would like to keep the PDF data in
> memory, not a file. 
> Thanx in advance...
> 
> Rodrigo
> PS. I have this code but it doesn't seem to be
> working...
> 
> Driver driver = new Driver();
> driver.setRenderer(Driver.RENDER_PDF);
> driver.setOutputStream(new
> FileOutputStream(targetFilename + 
> ".pdf"));
> driver.render(doc);
> 
> 
>
-
> 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: Error while using fop: [ERROR] org.apache.fop.apps.FOPException: master-reference

2004-08-16 Thread Glen Mazza
I suspect there is something wrong with your
transformation--the fo:layout-master-set is not
getting copied over into the FO document.

FOP is claiming that your fo:layout-master-set (at the
top of your FO) has no simple-page-master or
page-sequence-master called "der-einzige-seitentyp". 
Please check for the fo:layout-master-set in the
resultant file and make sure it has a
"der-einzige-seitentyp".  (Use Xalan for this.)

You may also wish to look at examples/pagination to
see the use of layout-master-set.  

Glen

--- Mosimann Matthias <[EMAIL PROTECTED]>
wrote:


> [ERROR] org.apache.fop.apps.FOPException:
> master-reference
> 'der-einzige-seitentyp' for fo:page-sequence matches
> no
> simple-page-master or page-sequence-master
> 
> 
> Anyone could help me? If it's neccessary I will send
> you the xml and the
> xsl file!
> 
> Regards and many thanks for your answers!
> Matthias 
> 
>
-
> 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: Attaching PDF to FOP output

2004-08-02 Thread Glen Mazza
Apparently a product called "PJ" and also iText are
able to post-process a FOP-made (or any other) PDF
document.  I suspect they will be able to append
another PDF, but haven't used these products yet so I
don't know for sure.  See here:

http://marc.theaimsgroup.com/?l=fop-user&m=108131949107145&w=2

Glen

--- Sönke_Ruempler <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> Maybe a little bit offtopic:
> 
> Is it possible to attach a PDF file to a FOP output?
> 
> --
> 
> Sönke
> 
> 
>
-
> 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: Enhancing FOP command line speed

2004-07-29 Thread Glen Mazza
I would go to the PHP site/ML's/FAQ's, etc., and look
at how to keep a Java application active in memory for
your PHP calls.

Once you find out how that can be done, I would then
move away from a FOP command line to an FOP-embedded
program (see http://xml.apache.org/fop/embedding.html
for examples) that you can keep active for your
multiple documents.  

Glen


--- Sönke_Ruempler <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> Anyone knows how to speed up FOP from the command
> line? Atm I call the
> fop.sh from a PHP script to generate the PDF and so
> everytime the (slow ;) )
> Java Runtime must be started.
> 
> --
> 
> Sönke
> 
> 
>
-
> 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: FOP hangs at Driver driver = new Driver(); line

2004-07-28 Thread Glen Mazza
Something else to look at whenever something
inexplicable is occurring is make sure that the same
versions of xalan.jar and xerces.jar are being
activated on both machines--some versions of the two
don't work well with Fop.

Glen

--- Clay Leeds <[EMAIL PROTECTED]> wrote:
> 
> On Jul 28, 2004, at 11:06 AM, Manfred Reuter wrote:
> > Hi,
> >
> > I was able to narrow it down where the problem in
> Driver.java is: 
> > Somehow the program stops when the Driver adds the
> Element Mapping of 
> > "org.apache.fop.svg.SVGElementMapping".
> >
> > Thanks and regards,
> > Manfred
> 
> This may not be related, but are the staging and
> production systems 
> running 'headless'? If so, there's a FAQ about it:
> 
> http://xml.apache.org/fop/faq.html#svg-headless
> 
> Hope this helps!
> 
> Web Maestro Clay
> 
> 
>
-
> 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: FOP hangs at Driver driver = new Driver(); line

2004-07-28 Thread Glen Mazza
Take a look at the examples on our embedding page
(http://xml.apache.org/fop/embedding.html) to make
sure you're following the general syntax needed.  

I assume you're using current production 0.20.5, our
sample servlet
(http://cvs.apache.org/viewcvs.cgi/xml-fop/src/java/org/apache/fop/servlet/FopServlet.java?rev=1.5&view=markup)
may also be of help to you.

Glen


--- Manfred Reuter <[EMAIL PROTECTED]> wrote:
> there was a spelling mistake in my previous email:
> org.java.fop.apps.Driver.java should be
> org.apache.fop.apps.Driver.java 
>   - Original Message - 
>   From: Manfred Reuter 
>   To: [EMAIL PROTECTED] 
>   Sent: Tuesday, July 27, 2004 11:03 PM
>   Subject: FOP hangs at Driver driver = new
> Driver(); line
> 
> 
>   Hi,
> 
>   I'm using FOP (creating adhoc pdf reports) that is
> called from a servlet on a JRUN 3.1 machine (JDK
> 1.4.1) and have trouble to initialize the "Driver"
> class. Actually it seems as it would hang at this
> point ... no exception, no error message ...
>   I tried already adding 
>   if (cl == null){
>   cl = ClassLoader.getSystemClassLoader();
>   }
>   to Service.provider() method in
> org.java.fop.apps.Driver.java to rule out a class
> loader issue. I found the code somewhere in the
> archive of this email list, but I found out the
> program doesn't reach this particular code at all.
> 
>   Any help is highly appreciated.
> 
>   Thanks and regards,
>   Manfred


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



Re: FOP 0.20.5 and XDK 10.10.0.2.0

2004-07-27 Thread Glen Mazza
My thinking is that this might be an question for a
relevant Oracle ML (one for JDeveloper, perhaps). 
IIRC  their XDK incorporates FOP 0.20.4.

Another option for Slavko might be: can you use FOP
separate from the XDK?  I.e., perhaps just use the XDK
to get the XML, and then use FOP "natively" to
generate the PDF.  You may wish to look at our
embedding examples
http://xml.apache.org/fop/embedding.html to see if you
can use FOP in this manner.

Glen

--- "J.Pietschmann" <[EMAIL PROTECTED]> wrote:
> Slavko Dzalto wrote:
> > I tried to use FOP 0.20.5 and XDK 10.10.0.2.0 but
> they don´t work 
> > together. If I use an older version of the XDK it
> works but I have to 
> > use the new one.
> 
> Are there any details available about the "don't
> work
> together" part? Like: error messages, stack traces,
> browser behaviour description etc.
> 
> J.Pietschmann


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



Re: command line problem

2004-07-25 Thread Glen Mazza
Did you build (compile) the application first?  If you
just downloaded the source (instead of the binary)
version of FOP, you'll need to build the app first by
typing "ant" (or "build.sh") at the command line in
the root directory.

Also, building will require downloading & installing
Apache Ant first--time well spent if you haven't done
this already, as Ant is a very useful tool.  Follow
the instructions in build.sh for more information.

Glen

--- Conor Quinn <[EMAIL PROTECTED]> wrote:
>  since no matter what I do, the command
> > line still spits back nothing but
> > 
> >-bash: fop: command not found
> > 
> > in response to a standard 
> > 
> >fop fonts.fo fonts.pdf
> > 
> > test of the newly added directory and files. 



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



Re: NullPointerException with fo --> rtf conversion

2004-07-15 Thread Glen Mazza
OK, please make a Bugzilla entry for this.  Also let
us know about how old the previous FOP version was
that worked with the file.

Please also attach a minimal FO file that reproduces
the bug below--make sure (!) it has no personal or
other sensitive data within it, as well as the error
message you get while running *that* minimal file.

Thanks,
Glen

--- Marc <[EMAIL PROTECTED]> wrote:
> Glen Mazza schrieb:
> 
> >>at
> >>
> >>
> >org.apache.fop.apps.Driver.render(Driver.java:321)
> >
> >There is no Driver.java:321 anymore (the file is
> only
> >300 lines).  Please delete your entire CVS source
> >directory, then download again, also delete your
> >entire build directory, and then do a full rebuild.
> >  
> >
> 
> Thanks for the tip! I did that now, doing a
> completely fresh checkout, 
> but, alas,ths result is not much better:
> 
> Exception in thread "main"
> java.lang.NullPointerException
> at 
>
org.apache.fop.render.rtf.rtflib.rtfdoc.RtfListTable.writeListTableEntry(RtfListTable.java:191)
> at 
>
org.apache.fop.render.rtf.rtflib.rtfdoc.RtfListTable.writeRtfContent(RtfListTable.java:136)
> at 
>
org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement.writeRtf(RtfElement.java:86)
> at 
>
org.apache.fop.render.rtf.rtflib.rtfdoc.RtfContainer.writeRtfContent(RtfContainer.java:135)
> at 
>
org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement.writeRtf(RtfElement.java:86)
> at 
>
org.apache.fop.render.rtf.rtflib.rtfdoc.RtfContainer.writeRtfContent(RtfContainer.java:135)
> at 
>
org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement.writeRtf(RtfElement.java:86)
> at 
>
org.apache.fop.render.rtf.rtflib.rtfdoc.RtfFile.flush(RtfFile.java:219)
> at 
>
org.apache.fop.render.rtf.RTFHandler.endDocument(RTFHandler.java:157)
> at 
>
org.apache.fop.fo.FOTreeBuilder.endDocument(FOTreeBuilder.java:221)
> at 
>
org.apache.xerces.parsers.AbstractSAXParser.endDocument(Unknown
> Source)
> at 
>
org.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(Unknown
> Source)
> at
>
org.apache.xerces.impl.XMLEntityManager.endEntity(Unknown
> Source)
> at 
>
org.apache.xerces.impl.XMLEntityManager$EntityScanner.load(Unknown
> Source)
> at 
>
org.apache.xerces.impl.XMLEntityManager$EntityScanner.skipSpaces(Unknown
> 
> Source)
> at 
>
org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.dispatch(Unknown
> 
> Source)
> at 
>
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
> 
> Source)
> at
>
org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
> Source)
> at
>
org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
> Source)
> at
> org.apache.xerces.parsers.XMLParser.parse(Unknown
> Source)
> at
>
org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
> Source)
> at
> org.apache.fop.apps.Driver.render(Driver.java:288)
> at
> org.apache.fop.apps.Driver.render(Driver.java:261)
> at org.apache.fop.apps.Fop.main(Fop.java:57)
> 
> 
> >We're now on JAXP, please look at the first example
> on
> >our embed page for information on how to switch to
> it.
> >
> >  
> >
> OK, thanks. For this specific file I have been using
> the command line 
> interface, only (via fop.sh). For other projects,
> this is a valuable 
> information.
> 
> Best regards,
> 
> Marc
> 
> >
> >--- Marc <[EMAIL PROTECTED]> wrote:
> >  
> >
> >>Hi!
> >>
> >>After running a cvs update yesterday morning an
> >>fo-file that used to convert quite
> >>unproblematically to rtf in the past causes
> trouble.
> >>I get the following exception:
> >>
> >>
> >>
> >
> >
>
>-
> >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]
> 
> 



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



Re: NullPointerException with fo --> rtf conversion

2004-07-15 Thread Glen Mazza
> at
org.apache.fop.apps.Driver.render(Driver.java:321)

There is no Driver.java:321 anymore (the file is only
300 lines).  Please delete your entire CVS source
directory, then download again, also delete your
entire build directory, and then do a full rebuild.

We're now on JAXP, please look at the first example on
our embed page for information on how to switch to it.

Glen


--- Marc <[EMAIL PROTECTED]> wrote:
> Hi!
> 
> After running a cvs update yesterday morning an
> fo-file that used to convert quite
> unproblematically to rtf in the past causes trouble.
> I get the following exception:
> 


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



Re: Integrating FOP in a Project

2004-07-08 Thread Glen Mazza
I think you're missing one line of code:

--- [EMAIL PROTECTED] wrote:
>   logger.warn("A");
>   //Driver driver = new
> Driver((InputSource)xslfo,out);
>   Driver driver = new Driver();

driver.initialize();

>   logger.warn("A");
>   driver.setRenderer(Driver.RENDER_PDF);
>   driver.setInputSource((InputSource)xslfo);
>   driver.setOutputStream(out);
>   driver.run();

Glen

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



Re: Development Version: xml+xsl -> fo -> rtf

2004-06-16 Thread Glen Mazza
Many non-trivial fo files will not work on the
development version, even including several of our own
examples.  It is still very much a work in progress. 
We try to fix the issues as we encounter them, and
over time, more and more of them become functional.

Glen

--- Johannes Franz <[EMAIL PROTECTED]> wrote:
> Ok, i created a fo file, with a preprocessor from
> xml+xsl. Now i tried:
> 
> [EMAIL PROTECTED]:~/xml-fop> ./fop.sh protocol.fo -rtf
> bittebitte.rtf
> 
> and get the following error message:
> 
> 16.06.2004 18:18:54 org.apache.fop.apps.Fop main
> INFO: 1.0dev
> Exception in thread "main"
> java.lang.NullPointerException
> at
> org.apache.fop.apps.Driver.render(Driver.java:544)
> at org.apache.fop.apps.Fop.main(Fop.java:71)
> 
> What did i do wrong?
> 
> - Original Message -
> From: "Victor Mote" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, June 16, 2004 6:19 PM
> Subject: RE: Development Version: xml+xsl -> fo ->
> rtf
> 
> 
> > Clay Leeds wrote:
> >
> > > "RTF
> > >
> > > This is currently not integrated with FOP but it
> will soon.
> > > This will create an rtf (rich text format)
> document that will
> > > attempt to contain as much information from the
> fo document
> > > as possible."
> > >
> > > If any of the fop-devs knows more about getting
> FOP to output
> > > to RTF, it would be great to update the web site
> to make the
> > > above actually contain useful information. I
> checked CVS for
> >
> > RTF support is much more robust in the development
> branch, thanks mostly
> to
> > the jfor crew, led by Bertrand Delecretaz, and
> Peter Herweg's efforts to
> > integrate it. However, since releases are not
> being made from the
> > development branch yet, users will have to
> download and build it
> themselves,
> > at their own risk.
> >
> > > the FOP Output Target page (from whence the
> above quote was
> > > taken), but couldn't find any information on the
> subject. The
> > > RTF-related info appears to have either been
> entered into the
> > > FOP Output Targets page before it was brought
> into CVS, or it
> > > wasn't well-documented.
> >
> > The web site, of course, refers to the released
> versions, and is accurate.
> >
> > WRT the source file, I don't follow. I can see the
> content here:
> >
>
http://cvs.apache.org/viewcvs.cgi/xml-fop/src/documentation/content/xdocs/ou
> > tput.xml?rev=1.16&only_with_tag=MAIN&view=markup
> > at line 240.
> >
> > Victor Mote
> >
> >
> >
>
-
> > 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]
> 
> 


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



RE: Dynamic generation of in static XSL page

2004-06-15 Thread Glen Mazza
Umm, have you ever heard of Google?

Glen

--- [EMAIL PROTECTED] wrote:
>
> Hi Glen,
> Please send the URL so that I can search for it.
> 
> With Regards
> Bhaskar
> 
> -Original Message-
> From: Glen Mazza [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, June 15, 2004 6:10 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Dynamic generation of
>  in static XSL page
> 
> [EMAIL PROTECTED] schrieb:
> 
> > Hi all,
> >
> >  
> >
> > Is there any tag or way to generate
>  dynamically in a
> 
> > static XSL page (like looping) depending on the
> information available 
> > in XML page.
> >
> >  
> >
> > With Regards
> >
> > Bhaskar
> >
> 
> I think this is a Mulberry XSLT list question.  Best
> to ask these types 
> of questions there.
> 
> Glen
> 
>
-
> 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: Dynamic generation of in static XSL page

2004-06-15 Thread Glen Mazza
[EMAIL PROTECTED] schrieb:
Hi all,
 

Is there any tag or way to generate  dynamically in a 
static XSL page (like looping) depending on the information available 
in XML page.

 

With Regards
Bhaskar
I think this is a Mulberry XSLT list question.  Best to ask these types 
of questions there.

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


Re: FW: OutOfMemoryError by large tables: Alternative solution?

2004-06-15 Thread Glen Mazza
Another option for generating PDF, if you don't need all the advanced 
functionality of an XSL processor, could be iText:  
http://www.lowagie.com/iText/, http://sourceforge.net/projects/itext/.  
I have not worked with this product before, but it *may* be able to 
handle very large and relatively simple/repetitive documents better.  
However, you'll no longer be working with XML & XSL documents as input.

Glen
[EMAIL PROTECTED] wrote:

Thanks for the answers.
There are some items where I am still a bit confused.
First, I must agree that it might not make sence to render 2 rows into
PDF. The problem is, that the user can pick bad criteria and I can not
interact with him at that time.
As to splitting up the table:
J.Pietschmann wrote:
"It's not enough to reduce memory consumption. In order to
reclaim memory locked up in Area objects related to the
table, the FOs itself have to be reclaimed, which only
happens at the end of a page sequence."
I am quite new to XSL:FO but I think that you can only have one "body-flow"
inside a page-sequence? Snipet:

 
   

 
If so, and it has no (positive) impact if I have more tables or not, then
the only possibility is to split the source (xml) and run more times?
Regards,
Anders Malmborg

-
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: Wrapping too long words?

2004-06-15 Thread Glen Mazza
I suspect he's using German, the hyphenation file of which we had to 
remove from FOP recently due to licensing issues--but Simon is currently 
hosting them for us at http://www.leverkruid.nl/FOP/index.html. 
Instructions on how to install the file might be here:  
http://xml.apache.org/fop/hyphenation.html.  (I have not done this 
myself, however, so I'm not sure how it works.)

Glen
[EMAIL PROTECTED] wrote:
Hi Johannes,
 

Use  hyphenate="true" language="en" to overcome the problem.
 

Bye
 


*From:* Johannes Franz [mailto:[EMAIL PROTECTED]
*Sent:* Monday, June 14, 2004 9:17 PM
*To:* [EMAIL PROTECTED]
*Subject:* Wrapping too long words?
 

Hi there,
 

i have the following problem. Perhaps you can help me.
Ok, since i am producing my fo file from an automatically created xml 
file, there are often words wich are too big for a table cell and so 
overflow in the next cell. Sometimes words are even to long for one 
line of the page. So is there a fo attribute to wrap the word and go 
forward in a new line when it exceeds a predefined length? It has not 
to be an "intelligent" wrapping like hyphenation.

 

Ciao.

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


RE: Help me from Outmemory issue

2004-06-14 Thread Glen Mazza
Actually, neither--I'm referring to the
"fo:page-sequence" formatting object, which is an
immediate child of fo:root and positioned after
fo:layout-master-set, and (optionally)
fo:declarations.

Glen


--- [EMAIL PROTECTED] wrote:
> Hi Glen,
> Thanks for help.
> 
> Tell me elaborately what you mean by 'more page
> sequences'.
> Is it more number of  or more
> number of
> 
> referring to
> single-page-master.  
> 
> With regards
> Bhaskar
> 
> -Original Message-
> From: Glen Mazza [mailto:[EMAIL PROTECTED] 
> Sent: Monday, June 14, 2004 3:33 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Help me from Outmemory issue
> 
> You can probably keep your XML the same.  However,
> you
> *might* find it helpful you if you add a metadata
> row
> for the number of rows you have--if you wish to rely
> on that number for subsequent XSLT processing logic.
> 
> Your XSL stylesheet however-->can you rewrite it to
> use more page sequences, or more (but smaller)
> tables?
>  Is there some key value in each record that you can
> divide by 10, perhaps, to set up 10 page sequences
> or
> 10 different tables?  The Mulberry XSLT list can
> help
> you with any XSLT programming that may require.
> 
> HTH,
> Glen
> 
> 
> --- [EMAIL PROTECTED] wrote:
> > Hi all, 
> > 
> > I am having out of memory issues when transforming
> > my FO - > PDF using 
> > fop-0.20.5rc2. I read that using multiple page
> > sequences in the XSL and 
> > therefore in the FO means that fop will release
> some
> > memory. I don 't
> > see how 
> > I can do this. My XML file is generated
> dynamically
> > from a database so I
> > 
> > don 't know how big it will be. Is there any
> > solutions I can use that
> > uses 
> > multiple page sequences or possible change the xml
> > structure, if not is 
> > there another FOP transformer that isn 't as
> memory
> > intensive. Thanks in
> > 
> > advanced for any help. If I havn 't provided
> enough
> > info please ask and
> > I can 
> > get back to you.
> > 
> >  
> > 
> > With regards
> > 
> > Bhaskar
> > 
> > 
> 
> 
>
-
> 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]
> 
> 


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



Re: Regarding Radio Button in JSf Application

2004-06-14 Thread Glen Mazza
I'm unsure what this question has to do with FOP. 
Perhaps the Sun Java forums would be of help for you.

Glen

--- Amit Garg <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I am facing a problem while creating a Radio Button
> for a JSF page in Studio
> Creator.Please tell me How can I add Radio button in
> my JSF page.
> 
> Thanx and Regards
> 
> Amit Garg
> 
>   -Original Message-
>   From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
>   Sent: Monday, June 14, 2004 10:42 AM
>   To: [EMAIL PROTECTED]
>   Subject: Any solutions to
> java.lang.OutOfMemoryError
> 
> 
>   Hi everybody,
> 
> 
> 
>   I want to generate report to do this I am querying
> the data base between
> two dates there may 1 record or 1 records or
> 10 records  exists how
> to handle this in FOP .
> 
> 
> 
>   Please send me some tips
> 
> 
> 
>   Is there is any dynamic solutions for this ?
> 
> 
> 
>   With regards
> 
>   Bhaskar
> 
> 


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



Re: Help me from Outmemory issue

2004-06-14 Thread Glen Mazza
You can probably keep your XML the same.  However, you
*might* find it helpful you if you add a metadata row
for the number of rows you have--if you wish to rely
on that number for subsequent XSLT processing logic.

Your XSL stylesheet however-->can you rewrite it to
use more page sequences, or more (but smaller) tables?
 Is there some key value in each record that you can
divide by 10, perhaps, to set up 10 page sequences or
10 different tables?  The Mulberry XSLT list can help
you with any XSLT programming that may require.

HTH,
Glen


--- [EMAIL PROTECTED] wrote:
> Hi all, 
> 
> I am having out of memory issues when transforming
> my FO - > PDF using 
> fop-0.20.5rc2. I read that using multiple page
> sequences in the XSL and 
> therefore in the FO means that fop will release some
> memory. I don 't
> see how 
> I can do this. My XML file is generated dynamically
> from a database so I
> 
> don 't know how big it will be. Is there any
> solutions I can use that
> uses 
> multiple page sequences or possible change the xml
> structure, if not is 
> there another FOP transformer that isn 't as memory
> intensive. Thanks in
> 
> advanced for any help. If I havn 't provided enough
> info please ask and
> I can 
> get back to you.
> 
>  
> 
> With regards
> 
> Bhaskar
> 
> 


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



Re: shift_jis and FOP?

2004-06-12 Thread Glen Mazza
Oops, I guess I stand corrected.  Sorry.

Glen

--- "J.Pietschmann" <[EMAIL PROTECTED]> wrote:
> Karl Critz wrote:
> > Has anyone ever successfully converted japanese
> text to PDF using FOP?
> 
> Yes, I did. There's even one in the FOP examples.
> 


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



Re: shift_jis and FOP?

2004-06-11 Thread Glen Mazza
A long time ago, for an old (0.16) version of FOP:
http://jpfop.sourceforge.net/.  But this has fallen
out of date with both the maintenance and redesign
versions of FOP.  Currently only roomaji works.  ;)

Glen

--- Karl Critz <[EMAIL PROTECTED]> wrote:
> Has anyone ever successfully converted japanese text
> to PDF using FOP?
> 
> I have tried converting the attached XML file to
> PDF.  The resulting
> file contains "#" instead of japanese text, as
> shown in the
> screenshot.  Interestingly, the navigation hierarchy
> on the left does
> use the proper characters.
> 
> details:
> * File is DocBook XML encoded in shift_jis
> * File contains katagana (full and half width) and
> kanji
> * Using FOP 0.20.5
> * Using Saxon as XSLT processor (also tried with
> Xalan)
> * Using Norm's docbook stylesheets v1.64.1 (slightly
> customized)
> * Using a japanese PDF reader
> 
> For what it's worth, the same file processes just
> fine through Saxon to
> HTML and JADE to RTF.
> 
> Does anyone have any idea why this is not working?
> 
> 
> -k
> 
> 
> 

> ATTACHMENT part 2 application/octet-stream
name=tja.pdf
> 
> 
> 
>   
> ‚ªÝ’肳‚ê‚Ä‚¢‚Ü‚¹‚ñ filename="tja.html"?>
>
>  
> ‚ªÝ’肳‚ê‚Ä‚¢‚Ü‚¹‚ñ
>  
> ÃÞ¨Ú¸ÄØ
>   
> 
> ‚ªÝ’肳‚ê‚Ä‚¢‚Ü‚¹‚ñ
>   
>   10-Jun-2004 09:19:56
>   
> 
> ‚ªÝ’肳‚ê‚Ä‚¢‚Ü‚¹‚ñ
>   
>   
> 
> ‚ªÝ’肳‚ê‚Ä‚¢‚Ü‚¹‚ñ
>   
>   
> 
> ‚ªÝ’肳‚ê‚Ä‚¢‚Ü‚¹‚ñ
>   
>
>
>  
> ‚ªÝ’肳‚ê‚Ä‚¢‚Ü‚¹‚ñ
>rowsep="1">
> 
> ‚ªÝ’肳‚ê‚Ä‚¢‚Ü‚¹‚ñ
>  
> 
> 
> 
> 
> 
>
>   0.95013
>   0.8913
>   0.82141
>   0.92181
>
> 
> 
>
>   0.23114
>   0.7621
>   0.4447
>   0.73821
>
>
>   0.60684
>   0.45647
>   0.61543
>   0.17627
>
>
>   0.48598
>   0.018504
>   0.79194
>   0.40571
>
> 
>  
>   
>
>
>  
> ‚ðŠÜ‚ޕϐ”–¼‚ð•\Ž¦
>   
>  kanji
>  “ú–{H
>   
>   
> 
> ‚ˆ‚‰‚’‚‚‡‚‚Ž‚
> 
> ‚ ‚¢‚¤‚¦‚¨
>   
>   
>  katagana full-width
>  ƒeƒXƒg
>   
>   
>  katagana half-width
>  ýÄ
>   
>   
> 
> ÃÞ¨Ú¸ÄØ
>  Namefigure
> ”NŒŽ“ú
> 
>
Descriptionmodel
> ”NŒŽ“ú
>   
>
> >
-
> 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: Accessing File in a WAR for XSLTInputHandler

2004-06-11 Thread Glen Mazza
Also, forgot to mention, consider dropping the use of
XSLTInputHandler and using JAXP directly--the latter
is a more established standard and a better skill to
be practicing:

Examples of JAXP:

http://xml.apache.org/fop/embedding.html#examples

Glen


--- Glen Mazza <[EMAIL PROTECTED]> wrote:
> I had a similar problem last year--take a good look
> at
> this thread [1], in particular Kris Schneider's
> comments:
> 
> [1]
>
http://marc.theaimsgroup.com/?t=10575990882&r=1&w=2
> 
> Hopefully, this may be of help for you.
> 
> Glen
> 
> 
> --- [EMAIL PROTECTED] wrote:
> > My application is deployed in a WAR format on
> Unix.
> > The XSLTInputHandler is trying to access the XSL
> and
> > the XML files on the system but the getRealPath()
> > and
> > the getResource() methods return null /or a path
> > which
> > included the war info and the  XSLTInputHandler
> > errors
> > out with FileNotFoundException.
> > 
> > The XSLTInputHandler  constructor with InputSource
> > and
> > String doesnt work ( its a bug and I dont see it
> > being
> > fixed as per bugzilla).
> > 
> > So my question is how do i get the File objects
> for
> > XSL and XML from a WARred setup?
> > 
> > Thanks
> > 
> > 
> > 
> >
>
-
> > 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]
> 


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



Re: Accessing File in a WAR for XSLTInputHandler

2004-06-11 Thread Glen Mazza
I had a similar problem last year--take a good look at
this thread [1], in particular Kris Schneider's
comments:

[1]
http://marc.theaimsgroup.com/?t=10575990882&r=1&w=2

Hopefully, this may be of help for you.

Glen


--- [EMAIL PROTECTED] wrote:
> My application is deployed in a WAR format on Unix.
> The XSLTInputHandler is trying to access the XSL and
> the XML files on the system but the getRealPath()
> and
> the getResource() methods return null /or a path
> which
> included the war info and the  XSLTInputHandler
> errors
> out with FileNotFoundException.
> 
> The XSLTInputHandler  constructor with InputSource
> and
> String doesnt work ( its a bug and I dont see it
> being
> fixed as per bugzilla).
> 
> So my question is how do i get the File objects for
> XSL and XML from a WARred setup?
> 
> Thanks
> 
> 
> 
>
-
> 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: Please help me

2004-06-06 Thread Glen Mazza
Yes, take a look at these examples [1] , in particular the 
 elements near the top of three of the more 
complex examples.

[1] http://cvs.apache.org/viewcvs.cgi/xml-fop/examples/fo/pagination/
Glen
[EMAIL PROTECTED] schrieb:
If you want more than One Page, you can use repeatable page master or 
conditional page master

Regards
Jerald S
-Original Message-
*From:* [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]
*Sent:* Friday, June 04, 2004 12:48 PM
*To:* [EMAIL PROTECTED]
*Subject:* Please help me

Hi everybody
When execute the command ‘fop infile –xml prac.xml –xsl prac.xsl –pdf 
prac.pdf ‘ I am getting the pdf file with single page only, though 
there are many data in the xml file.

Earlier it was working fine means I was getting 3 pages in the pdf 
file. But after me using  within the body of 
 I am getting only one page in 
the pdf file and I am using  tag

With Regards
Bhaskar
Confidentiality Notice
The information contained in this electronic message and any attachments to this message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged information. If
you are not the intended recipient, please notify the sender at Wipro or [EMAIL PROTECTED] immediately
and destroy all copies of this message and any attachments.
   


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


Re: embedded FOP - logging

2004-04-27 Thread Glen Mazza
This section should help you:

http://xml.apache.org/fop/embedding.html#basic-logging

Glen


--- Johannes Stuermer <[EMAIL PROTECTED]> wrote:
> How do I tell FOP to only log ERROR messages and not
> messages that fall into
> the INFO category?
> 
> Thanks
> 
> 
> -Original Message-
> From: J.Pietschmann [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 27, 2004 12:04 PM
> To: [EMAIL PROTECTED]
> Subject: Re: iteration in xsl
> 
> 
> Varadharajan Sethuraman wrote:
> > I just want to know the *iteration functionality*
> in xsl.
> > for example similar to the following ...
> > *for(int i=0;i<10;i++){*
> 
> You most likely wont need it. Check your XSLT book
> (you
> have a book, haven't you?) for the position() and
> count()
> XPath functions.
> If you decide to ask on the XSL list, state your
> original
> problem, like "how do I get FO list items enumerated
> similar
> to HTML ?", rather than the derived one. This is
> more
> likely to get you a sensible answer.
> 
> J.Pietschmann
> 
>
-
> 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]
> 


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



Re: Outline extension generates a PDF bookmark set for each page-sequence

2004-04-23 Thread Glen Mazza
Bruce,
1.0dev is *quite* unfinished--with hundreds of classes only partially 
complete--but yes, please add it into Bugzilla just to make sure it is 
not missed. 

Thanks,
Glen
Krautbauer, Bruce wrote:
Hi,
I've come across what I think is a bug.  I did some searching and could
not find any references to anything similar.  I am running version
1.0dev checked out earlier today.
If I use the outline extension to generate PDF bookmarks it generates a
complete set of bookmarks for each page-sequence I have.  In other
words, if I have this input:

http://www.w3.org/1999/XSL/Format";>







http://xml.apache.org/fop/extensions";>

Section 1


Section 2




Section 1




Section 2



I expect to get one set of bookmarks with items of Section 1 and Section
2 linking to the first page and second page respectively.  Instead I get
two complete sets, i.e., items Section 1, Section 2, Section 1 and
Section 2.  The bookmarks link to the right places.  This only seems to
happen if there are outline references to more than one page-sequence.
Is this something I should write a bug report about?
Thanks,
Bruce

-
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: solid instead of dashed line

2004-04-14 Thread Glen Mazza
Clay Leeds wrote:
I would set a @border-bottom="1pt solid #00" to the fo:table-cell 
in the table-header ("Name" and "City").

Web Maestro Clay - <[EMAIL PROTECTED]>
---

Excellent, thanks.
Glen
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


solid instead of dashed line

2004-04-13 Thread Glen Mazza
Hello,

Newbie question--For a FOP report, instead of using a
dashed underline for a column heading, I'd like to see
a solid line.  What is the usual way of doing
this--use a leader?  Set a solid "after" line border
for the table cell that the header is in?

For example:

Name  City   
  ---
John  Baltimore
Bob   Washington
Mark  Richmond

I would like the hyphens under the column names to be
a solid line instead.

Thanks,
Glen


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



Re: monitoring embedded FOP

2004-04-11 Thread Glen Mazza
Note that current production 0.20.5 still uses Avalon logging--the 
example on our web page is for commons-logging which is for the upcoming 
version.  To use Avalon-logging,
reference the left side of the link below.  (Right side is newer 
commons-logging.)

http://cvs.apache.org/viewcvs.cgi/xml-fop/src/documentation/content/xdocs/embedding.xml?r1=1.18&r2=1.19&diff_format=h
I'll try to update the page to indicate as much.
Glen
Andreas L. Delmelle wrote:
-Original Message-
From: Johannes Stuermer [mailto:[EMAIL PROTECTED]
   

 

Occasionally I'm running into a situation where FOP gets locked 
in an endless loop. Although this is extremely rare and can be fixed 
by adjusting the xsl-fo file, it would be nice to be able to catch 
these situations at runtime. 
I'm looking for a way to monitor the rendering progress. 
   

Hi,
How about logging?
check: http://xml.apache.org/fop/embedding.html#basic-logging
Hope this helps!
Cheers,
Andreas
-
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: Want to convert a standard form to XSL

2004-04-07 Thread Glen Mazza
Excellent.  Thanks!

Glen

--- Jeremias Maerki <[EMAIL PROTECTED]> wrote:
> to a): You don't have to.
> to b): I wouldn't (quality and PDF size!). Instead
> create a stylesheet
> (for XSL-FO, SVG or both) that places the values in
> the right places (on
> a white page). Then use a PDF-postprocessor to
> overlay your generated
> PDF with the form template, page per page. I've done
> that once using PJ.
> Worked fine. iText should be able to do that, too.
> HTH.
> 
>
http://xml.apache.org/fop/resources.html#products-pdf
> 
> 
> On 07.04.2004 01:24:08 Glen Mazza wrote:
> > Hello,
> > 
> > Sorry to give such a traumatizing example, but
> here is
> > the U.S. IRS 1040A income tax form:
> > 
> > http://www.irs.gov/pub/irs-pdf/f1040a.pdf
> > 
> > Question:  If I wanted to convert a
> to-be-filled-out
> > PDF form available on the web (such as this one)
> to an
> > XSL that can be generated by FOP or a commercial
> > implementation (with user-added text printed on
> it),
> > what is the process?*
> > 
> > a) Would I have to manually declare every line,
> every
> > checkbox, plus all the background text of the form
> > within the FO, in addition to what the user may
> enter
> > in?  (I hope not!)
> > 
> > b) Can I somehow make a BMP or JPEG of the generic
> > form, and just specify it as a background to the
> XSL. 
> > Then, I would just need to hardcode the locations
> of
> > where the user-entered text will go.  (I hope so!)
> > 
> > If (b), what format does one normally save the
> > background PDF document as?  Also, what fo:object
> do I
> > use to specify this graphic as the background?
> > 
> > Thanks,
> > Glen
> > 
> > *My goal is not to convert the 1040A form
> itself--I'm
> > just using this form as an example.
> 
> -- 
> Jeremias Maerki <[EMAIL PROTECTED]>
> 
> 
>
-
> 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]



Want to convert a standard form to XSL

2004-04-06 Thread Glen Mazza
Hello,

Sorry to give such a traumatizing example, but here is
the U.S. IRS 1040A income tax form:

http://www.irs.gov/pub/irs-pdf/f1040a.pdf

Question:  If I wanted to convert a to-be-filled-out
PDF form available on the web (such as this one) to an
XSL that can be generated by FOP or a commercial
implementation (with user-added text printed on it),
what is the process?*

a) Would I have to manually declare every line, every
checkbox, plus all the background text of the form
within the FO, in addition to what the user may enter
in?  (I hope not!)

b) Can I somehow make a BMP or JPEG of the generic
form, and just specify it as a background to the XSL. 
Then, I would just need to hardcode the locations of
where the user-entered text will go.  (I hope so!)

If (b), what format does one normally save the
background PDF document as?  Also, what fo:object do I
use to specify this graphic as the background?

Thanks,
Glen

*My goal is not to convert the 1040A form itself--I'm
just using this form as an example.


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



Re: hide logging message

2004-04-05 Thread Glen Mazza
The new version will not require you to specifically
code for a logger; it quietly gives you a Commons
Logging SimpleLog by default.

Also, in the maintenance/production branch, we put in
a patch to make the "logger not set" error not appear,
it just uses an Avalon Console Logger quietly if not
specified.  However, for the release version, you
still need to explicitly set a logger or else you get
the warning message.

Glen

--- Chris Bowditch <[EMAIL PROTECTED]> wrote:
> Teator, Michael wrote:
> 
> > What if you just wanted to reduce the logging to
> errors?
> 
> 
> 
> > You need to do something like:
> > 
> 
>logger=new ConsoleLogger(LEVEL_ERROR);
>MessageHandler.setScreenLogger(logger);
>m_fopDriver.setLogger(logger);
> 
> This will send only error messages to the Console.
> 
> Chris
> 
> 
> 
>
-
> 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: url port 8080

2004-03-26 Thread Glen Mazza
Now I understand your question!  The answer:  No, you have to specify 
the port number.

If you look at the http spec[1], and search on "80", you'll see a few 
places where it specifies that if you do *not* specify the port number, 
it defaults/must be taken as 80 for http.

Glen
[1] http://www.cse.ohio-state.edu/cgi-bin/rfc/rfc2616.html
Benjohn P. Villedo schrieb:
thanks mike for the suggestion i am a bit worried though since 
apache httpd uses port 80 hence moving tomcat to port 80 might 
cause some problems... am still finding other means... all the best!!!

pal,
benjohn
 


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


Re: url port 8080

2004-03-22 Thread Glen Mazza
--- "Benjohn P. Villedo" <[EMAIL PROTECTED]> wrote:
> 
> is there a means by which i could access those web
> applications 
> without port 8080??
> 

I'm not sure--it's been a while since I've personally
worked with Tomcat.  The tomcat-user list is probably
the best resource for you--this also looks like a
(very) FAQ question--that of changing the port the
servlet container listens to--so you may want to check
the Tomcat website as well.


> 
> inside server.xml of tomcat i placed the context
> ~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=
> 
>  debug="3"
>   reloadable="true" crossContext="true">
>  className="org.apache.catalina.logger.FileLogger"
>   prefix="localhost_cocoon_log." suffix=".txt"
>   timestamp="true"/>
> 
> ~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=
> 
> mod_jk.conf file added the line
> ~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=
> JkMount /cocoon/* worker1
> ~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=
> 
> but still doesn't work... any hint or tip would be
> very much 
> appreciated... all the best!!!
> 

The Cocoon-user list may also be of help here.  But
I'm missing something--I don't see how any of this
could possibly change your servlet port (parameters
that use numeric attributes would appear to be more
plausible, no?  ;)

Glen


> pal,
> benjohn
> 


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



Re: using multiple page sequences

2004-03-12 Thread Glen Mazza
Yes, 1.0 is far away, but we keep working on it.  Every day it's getting 
better formed.

Glen
Cheers Glen, Are you on the FOP dev team? Is 1.0 far away? I'll look into
these other implementations. You are right the XSL won't work, I was
originally playing around with  but removed it as it wasn't useful, and obviously forgot to
change the rest. Thanks again.
bF.
 


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


  1   2   >