Processing xml as text is kinda dangerous, especially when you are
trying to
fiddle with tags, I believe a better and more safe way is to handle
\n\n stuff
one stage earlier - during fo generation, that's pretty simple in xslt
to
tokenize string into blocks by any delimiter, trivial recursive
A better way would probably be to transform QuarkXML to DocBook. There
is a wide support for DocBook to PDF conversion and we all read
somewhere how easy it is to transform one XML format into another :-)
Framemaker actually can work with DocBook, though I have not tried it
out.
Stephan
Hi,
On Tue, 5 Nov 2002, J.Pietschmann wrote:
Deon van der Merwe wrote:
org.apache.fop.apps.FOPException: Root element must be root, not
(none):glossary
at org.apache.fop.fo.FOTreeBuilder.startElement(Unknown Source)
at
In order to debug
some code, I would like to see the result of the XML+XSLT tranformation, not the
result of the rendering. Can I make FOP do this?
Leif
Frederiksen
Phil Dickinson wrote:
John is right about not being able to change variables and I think that
in order to achieve the effect you want, you should consider using some
Java code inside your XSL.
Well, extensions are especially good as last resort, but incrementing
variables in a side effect free
Leif Frederiksen wrote:
In order to debug some code, I would like to see the result of the
XML+XSLT tranformation, not the result of the rendering. Can I make FOP
do this?
Actually FOP processes exactly xsl-fo, not xml+xslt, so what you need is not
FOP, but usual xslt processor.
--
Oleg
Leif Frederiksen wrote:
In order to debug some code, I would like to see the result of the
XML+XSLT tranformation, not the result of the rendering. Can I make FOP
do this?
btw, I was thinking about implementing such a functionality (view fo source)
in FOP's awt viewer, but I was not sure anybody
I think it would be great to have an option to output fo source directly
from fop. That way users would not have to script wrap both fop and
xalan.
Leif Frederiksen
-Original Message-
From: Oleg Tkachenko [mailto:[EMAIL PROTECTED]
Sent: 6. november 2002 13:57
To: [EMAIL PROTECTED]
As my xml file is before traited by a java program
in odrer generate other tag. This one will completely generate tag for creating
barrecode so
before : xml file :
barrcecode012341223/barrcode
but impossible to realise the svg barrce code
after : xml fil after transformation by java
Hi,
I am trying to add a line between the main-reference-area and
the footnote-reference-area. Has anybody an idea how to do
this?
Greetings,
Marko
I think having the ability to view the FO source would be both very
helpful for debugging and also great for learning what is going on.
My $0.02
Bob
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 06, 2002 7:57 AM
To: [EMAIL PROTECTED]
I tried it , it works, but I have one great suspicion:
Will it work even on remote server ?
response.sendRedirect(outPDF); // outPDF is C:/Program
Files/Apache Tomcat 4.0/Fop/TMP.PDF
I have Tomcat and browser on one PC . Doesn't the browser thus open the PDF
file directly, bypassing
Hi,
your PDF file has to be accessible for tomcat, for example:
Imagine your web application is stored under
%TOMCAT_ROOT%/webapps/yourapp
Then your PDF file has to be somewhere in your 'yourapp'
directory. It is the same as html pages: you referene them
(e.g. in html) with a href=foo.html -
[EMAIL PROTECTED] wrote:
I tried it , it works, but I have one great suspicion:
Will it work even on remote server ?
Why not? Just make sure you save it in a place browser has access to.
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
Here's my problem,
Scenario
I'm trying to send a PDF document, which has been rendered with FOP back to
the client through ServletOutputStream. I'm generating a set of XML files
that I then render into a PDF document and store the document onto the file
system.
I then read in the file as a
Marko Petersen wrote:
I am trying to add a line between the main-reference-area and
the footnote-reference-area. Has anybody an idea how to do
this?
Well, you certanly know what the first footnote body is, so you can just add
block with an rule leader at the beginning. See Dave Pawson's example:
Hi,
maybe you should call your servlet with the option
target=blank, for example:
a href=/MyServlet target=_blankPDF/a
This causes your Servlet output to appear in a new browser
window - the old one is still there and should have the valid
session.
This only helps to hold the session, I think your
Yes, I know the first footnote body of the document, but I
have to know each footnote body, which is the first displayed
on one page. This one should have a line above, the others
at the same page should not.
Is there a way to get this node?
Thanks,
Marko
At 18:18 06.11.2002 +0200, you wrote:
Sorry for asking a question which I know is already in my FAQ but I have a
colleague who needs to render HTML *with* CSS to PDF. I am wondering
whether we have anything like a web browser which outputs XSL:FO yet.
Does anyone use one?
My instant reaction is to say convert to XML instead of
So, to continue down this winding road a little further ...
Quark seems to produce three documents: a css, dtd, and xml. The goal
is to produce an xsl file that can transform the xml to xsl-fo. Should
I be writing a script that takes that dtd and css and produces an xsl
file? Would it be
On Wednesday 06 November 2002 18:31, Alex McLintock wrote:
Sorry for asking a question which I know is already in my FAQ but I have a
colleague who needs to render HTML *with* CSS to PDF.
I hope this is not the FAQ answer ;-)
Assuming client-side is ok (or you want to try to automate these
Joel Gwynn wrote:
So, to continue down this winding road a little further ...
Quark seems to produce three documents: a css, dtd, and xml.
What are in them?
The goal
is to produce an xsl file that can transform the xml to xsl-fo. Should
I be writing a script that takes that dtd and css and
-Original Message-
From: Oleg Tkachenko [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 06, 2002 12:45 PM
To: [EMAIL PROTECTED]
Subject: Re: Quark workflow
Joel Gwynn wrote:
So, to continue down this winding road a little further ...
Quark seems to produce three
xavier gibouin wrote:
As my xml file is before traited by a java program in odrer generate
other tag. This one will completely generate tag for creating barrecode so
If you want to generate SVG barcodes, why don't you
use the barcode XSL form RenderX?
http://www.renderx.com/barcodes.html
Joel Gwynn wrote:
Well, since you asked ... I uploaded the files to my server for perusal,
just in case you're interested. These are the files from the
quark.avenue tutorial. http://joelman.com/avenue-xml/
Well that's not a bad format, xml + css, but unfortunaly css in not xml hence
one can say
Hi,
how would I get table headers to repeat across pages using FOP?
Thanks!
Jonathan Evraire
jonevrai at justice.gc.ca
Set table attribute table-omit-header-at-break=false.
-Original Message-
From: Evraire, Jonathan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 06, 2002 1:55 PM
To: '[EMAIL PROTECTED]'
Subject: Repeating table headers accross pages
Hi,
how would I get table headers to repeat
Marko Petersen wrote:
I am trying to add a line between the main-reference-area and
the footnote-reference-area. Has anybody an idea how to do
this?
The spec provides a special region named xsl-footnote-separator
for this purpose, you could put a leader in it:
fo:static-content
Jeremias Maerki wrote:
I'm going a step further and I'm thinking about providing a development
tool for FOP.
I'm looking forward to this.
For the subject at hand, however, I think a
fop -xml foo.xml -xsl foo.xsl -fo foo.fo
would do, and I hope I can get this even in the next
maintenance release.
I am often generating .fo files with XML::Sablotron, and find it very
useful to
examine the source when things are not going as expected.
-Carl Holm
[EMAIL PROTECTED] wrote:
I think having the ability to view the FO source would be both very
helpful for debugging and also great for learning
30 matches
Mail list logo