[er, somehow this got sent before I finished it. here's the full message.]
One more question, then I'm through, I promise. (at least for the week. :) ) In the past, I'd written my own "dispatcher" sort of program to handle requests, transformations, and various output formats. AxKit is light-years better, so that's why I'm here. I'm slowly getting all of my old functionality (and tons of new stuff) working, and my project for the day is to get PDF output working. I've got stylesheets that convert to xsl:fo, but I'm unclear how I then take that FO file and get it through a renderer. My old system did it simply -- "fop.sh /tmp/input.fo /tmp/out.fo" (or somesuch). How can I get something similar working here? I've looked at the HtmlDoc.pm file, and tried to get it to run, but couldn't even get it to trigger properly. Assuming I can get all the XSL stuff happening right, is there an easy way to get that output piped through fop? (and, preferably, cached, since fop is an expensive step)? There are two parts to this. One is actually calling FOP (and passing it data either via stdin or as pointers to intermediate, temp files. I'd prefer stdin). The other is having AxKit figure out that it even NEEDS to do this in the first place. Is there a way that AxKit can look at an intermediate result, compare the root tag to some namespace tag (like the RootProcessor directive does, but for an intermediate result) and then call the right processor? Otherwise, I'll have to have a completely separate chain in the AxKit conf, where one does xml->xhtml and the other does ->pdf, right? Finally: Right now, adding a PI at the top of my source for a separate FO stylesheet tree properly generates xsl:fo output. Is there a way to adjust that PI on the fly, based on user-prefs (from a DB) or other criteria? Otherwise, I'm going to have to figure out something with file extensions or path_info or something. (I see from the archvies that I may have to use file extensions, regardless, 'cause some browser/acrobat combinations won't recognize a .pdf stream unless the URL ends in .pdf.) Thanks! david. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
