Grzegorz Kossakowski wrote: > Just to be sure, do you want to implement something like: > <map:match pattern="sth"> > <map:call function="prepareData"/> > <map:generate src="..."/> <- some protocol to obtain the prepared data > [...] > </map:match> > > Such construct introduces new semantics for sitemap because data > returned by <map:call> will be available _outside_ <map:call> element. > Now it is important what is the scope where the data will be visible. > Have you thought about it already?
Time for my 2 cents, sorry: To be able to put a function call anywhere in a pipeline would be great, having access to all the variables defined up till then. To return data to the pipeline for further processing via a special protocol doesn't look like the best way to go (IMO). Functions should only return (in the classical way) data to other functions calling them. Bye, Florian