> Hello,
> I'm performing a sequence of transforms on a single source document in
> a xalan pipeline using SAXsource and SAXresult. To make the pipeline
> more intelligent I'd like to peek in the source DOM (if there's one?)
> to see which transforms in the pipeline need be executed. My question
> is in xalan is a DOM tree created by an XMLReader or other part of the
> process or do I have to set up my own DOM tree to query as in the
> ApplyXPath and ApplyXPathDOM examples. Any enlightenment is greatly
> appreciated.

Hi,

If you are choosing which transform to perform next, then it's not
really a chain.  If it was a chain of transformations, then the surely
the next transform to perform at any given time is by definition the
next in the chain.

What I think you may be after is to use a DOM result, query that with
xpath, and then pass that as the input to whichever transform you choose
to perform next.

Cheers
andrew 

Reply via email to