The problem with that would seem to be that the "file" is not usually a single input FO document, but the combination of an XSL stylesheet with an XML data file being fed into the XSL processor, so ascertaining a percentage would probably be quite difficult. Being 30% from the beginning of an XSLT stylesheet (in contrast to being 30% through an FO document)--even if you could get that information--wouldn't mean anything, stylesheets are template-driven and bounce all over the place.
Glen ----- Original Message ----- From: "Warren Young" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Wednesday, June 01, 2005 8:18 AM Subject: Re: XML2PDF formatting progress > Glen Mazza wrote: > > > So I don't think FOP > > would ever know itself how much finished it is with its input, and hence > > would not be able to report on it. > > In that case, the program driving fop could set up a named pipe, and > provide the fo file through that. Then the driver program would know > where fop is reading in the file, and can infer progress from that. > > The only problem with this approach is that it's hard to do portably. > But if you're on some *ix type system, it's pretty easy to do. > > --------------------------------------------------------------------- > 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]
