On Friday, 21. March 2003 15:55, Schuetz, David wrote: > 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)?
<?xml-stylesheet href="NULL" type="text/xhtml"?> (or text/html, depending on how exactly your AxAddStyleMap line looks) > 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? You should take a look at the StyleChooser plugins, they do what you want. (the "do I need to do that?" part) > 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.) a /foo.xml?acrobatreaderandiexplorersuck=.pdf is usually enough. Finally, try Apache::AxKit::Language::PassiveTex, it is a xsl:fo->pdf processor including caching and everything. -- CU Joerg PGP Public Key at http://ich.bin.kein.hoschi.de/~trouble/public_key.asc PGP Key fingerprint = D34F 57C4 99D8 8F16 E16E 7779 CDDC 41A4 4C48 6F94 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
