#4 apply a pipeline of XSLT transforms to source(s)

open
nobody
None
5
2012-10-08
2003-11-26
Gunther Schadow
No

An alternative command line tool that makes it easier to
apply a pipeline of XSLT transforms to one or more
sources. Would be nice if the saxon command line tool
would do something like this, but then this is simple
enough to just use. I post it here for consideration to
add to the distribution and for others to just download
from here.

-Gunther

Discussion

  • Logged In: YES
    user_id=575520

    Fixed bug where the final transform in the chain was always a
    null-transform. Hence output properties where being ignored.

     
  • Logged In: YES
    user_id=575520

    Hi, I added more to the TRAXPipe idea. Thanks to Michael
    breaking the gordian knot, this now allows you to send a big
    document into a pipeline, split it at the second level element
    and transform each sub-document separately, then join them
    again at the end into one big document.

    In the future I will handle directories as such a document set
    and I will add a class to write multiple documents to an
    output directory (instead of joining them together.)

    enjoy,
    -Gunther

     
  • Michael Kay
    Michael Kay
    2004-05-16

    Logged In: YES
    user_id=251681

    I've been tempted a number of times to add this kind of
    functionality to the Saxon command line, but I've resisted.
    Turning the command line into a pipeline programming
    language is not the right way to go. There is lots of scope
    for tools like this, but architecturally I think they belong
    in a layer above Saxon, not in Saxon itself.

    Michael Kay

     


Anonymous


Cancel   Add attachments