You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Alastair Growcott <al...@pipstechnology.co.uk> on 2002/03/26 12:30:55 UTC

Let's get bold.

The XML line

	<?xml-stylesheet type="text/xsl"
href="file:///D:/XML/ccr_fo.xsl"?>

tells IE 6.0 to run the XSL file D:/XML/ccr_fo.xsl on the current XML
file and display the output (we are talking pure client-side here).

Is there a line that could be added to an XML file that would trigger a
piece of javascript or some sort of piece of java code? You can tell I'm
not a java developer. For example, maybe if the file type was changed to
e.g. "bin/java" or something. The java script could then act as a
wrapper for the entire FOP process of running the stylesheet and
converting to PDF.

I know this idea may be a bit ahead of its time, but wouldn't it be
nice...

If I find anything on this topic, do any of you want to know about it?




Re: XML parsing

Posted by "J.Pietschmann" <j3...@yahoo.de>.
Alastair Growcott wrote:
> Any chance that FOP will ever use the stylesheet specified in the XML
> file to peform the XSLT?

You can implement it yourself. Rip some code from Xalan or
Cocoon which extracts the stylesheet PI from the XML and
the logic to invoke the transformation, and pipe the
result to a FOP driver.

Hava fun!
J.Pietschmann


XML parsing

Posted by Alastair Growcott <al...@pipstechnology.co.uk>.
Any chance that FOP will ever use the stylesheet specified in the XML
file to peform the XSLT?