Well, my help looks like throwing a life-belt without a rope...

If your transformer B1 and B2 are simple XSL you could merge their
stylesheets and selecting the appropriate templates depending on your
content.
Another idea would be writing a custom selector choosing the transformer.
Flowscript will probably get you the fastest but it's neither elegant
nor its intention.

Please drop a line which solution you'll have chosen, perhaps others may
appreciate for their own problems.

Bye,
Florian

Sébastien Geindre wrote:
> the B1 transformer post http request to a webservice
> the B2 just transform XML data
>
> A transformer compute :
> - intersection between gml polygons : one the the http post request
> (get by stream generator), one hard coded (properties of application)
> - it also makes comparison between attribute of the http post request
> and properties of application
>
> if the intersection and the comparison are ok, then transformer B1
> should be called..
>
> I thought about kinf of xpathselector
>
> perhaps, i have to do this with flowscipt....
>
> thanks for answered, and started the discussion.
> it 's pipeline design question, and it seems thaht i am lost.... :-)
>       
>>>> my schema is not very clear :
>>>>
>>>> generator
>>>> transformer A
>>>> if condition on xml from transformerA --> transformer B1
>>>> else -----> transformer B2
>>>> transformer C
>>>> serializer
>>>>
>>>> the condition is computed on xml data and global variables

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to