Re: Showing FO output
At 23:27 06.11.2002 +0100, you wrote: 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. J.Pietschmann I agree, this could be helpful. I think I can remember (but not for sure) that there was such an implementation in fop 0.15. I often asked me: What was the reason to remove this feature? Marko
Re: Showing FO output
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 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] > Subject: Re: Showing FO output > > 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 need it, so I left that > idea. > What are FOP users opinions, is it needed? > > -- > Oleg Tkachenko > eXperanto team > Multiconn Technologies, Israel
Re: Showing FO output
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. J.Pietschmann
Re: Showing FO output
I'm going a step further and I'm thinking about providing a development tool for FOP. We've developed a simple one at work where we could specify either FO or XML/xSLT file and an output format (FO, PDF, PS etc.). Then we have that big "Process" button that runs the document through Xalan and FOP. The configuration is saved when you exit, but at the moment we don't have multiple profiles. I've got a few good ideas about an improved tool in this direction. It would also be a good project for someone who'd like to contribute to the FOP project but doesn't want to go to the depths. I can elaborate if anyone is interested. Anyway, if anyone does some work in this direction, I have a few points I'd like to make: - It would be good, if the AWT viewer would be separated into a viewer component (just the panel to display the AWT output) and the ready-to-use preview frame as it exists today. That may make it easier to embedd FOP in a Swing application if the previewer is not exactly what somebody wants. - Every debugging/developer-oriented feature should also be separated from the above components so we don't limit their uses. On Wed, 06 Nov 2002 14:56:52 +0200 Oleg Tkachenko wrote: > 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 need it, so I left that idea. > What are FOP users opinions, is it needed? Jeremias Maerki
Re: Showing FO output
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] Subject: Re: Showing FO output 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 need it, so I left that idea. What are FOP users opinions, is it needed? -- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel
RE: Showing FO output
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] Subject: Re: Showing FO output 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 need it, so I left that idea. What are FOP users opinions, is it needed? -- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel
Re: Showing FO output
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 need it, so I left that idea. What are FOP users opinions, is it needed? -- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel
Re: Showing FO output
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 Tkachenko eXperanto team Multiconn Technologies, Israel
Re: Showing FO output
Hi, just use your XSLT processor (for example XALAN, see http://xml.apache.org/xalan-j/commandline.html). Marko At 13:28 06.11.2002 +0100, you 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? Leif Frederiksen