You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Hans Ulrich Niedermann <nd...@n-dimensional.de> on 2001/03/10 22:26:04 UTC

[Patch] Xslt ant Task with stylesheet params but without DOM

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org

Re: [Patch] Xslt ant Task with stylesheet params but without DOM

Posted by Hans Ulrich Niedermann <nd...@n-dimensional.de>.
Hans Ulrich Niedermann <nd...@n-dimensional.de> writes:

> BTW: Shouldn't *xalan* include an XSLT task as a frontend in addition
> to the command line interface?

Well, "read before post" applies once again. ANT contains a quite
complete implementation of an XSLT task (named "style"). 

I should really get back to doing things I know how to do, e.g. catch
some sleep. :-( 

Uli

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Re: [Patch] Xslt ant Task with stylesheet params but without DOM

Posted by Hans Ulrich Niedermann <nd...@n-dimensional.de>.
Hi,

I'm sorry but i screwed up when I tested my patch.

I just noticed that when including my hacked Xslt task into
buildtools.jar and building FOP with it, all PDF files output by FOP
are completely SCREWED UP. 

So please do NOT include my patch into Fop.

Hans Ulrich Niedermann <nd...@n-dimensional.de> writes:

> yesterday I needed a XSLT task for ant and remembered that FOP
> contains one. However, I needed one that does stylesheet parameters so
> I patched that functionality in. I post the code here just in case
> anybody should be interested.
> 
> I implemented the stylesheet params stealing some code from the Xalan2
> command line interface and modifying FOP's XSLTransformer and
> TraxTransformer. Removing the DOM objects also accelerated the XSLT
> transforms quite a bit.
> 
> Thus modified, FOP still seems to build OK.

Well. This obviously is because I did not modify lib/buildtools.jar. 

Sorry for the inconvenience.

BTW: Shouldn't *xalan* include an XSLT task as a frontend in addition
to the command line interface?

Uli

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org