Are you aware that pipelines can be nested? http://solprovider.com/lenya/nesting
<map:match pattern="**"> <map:match pattern="**/C/**"> <!-- Pattern contains "/C/" --> <map:generate src="FoundC.xml"/> <map:serialize type="xml"/> </map:match> <!-- Pattern does not contain "C" --> <map:generate src="NoCFound.xml"/> <map:serialize type="xml"/> </map:match> Each piece of code must start with an Generator/Aggregator and end with a Serializer (or call a Reader or Redirector.) Think of <map:serialize> as a return statement. Is this the information you need? Or did I miss the problem? solprovider On Thu, Feb 21, 2008 at 8:49 AM, Rainer Pruy <[EMAIL PROTECTED]> wrote: > But what to do, when one needs to handle X/c/** and X/** (excluding X/c/**) > different? > (At least if the contained components are not "final" (serialize, read)) > > ("X" is an arbitrary path, not having any single path component "c"; > while "c" is a simple path component (no "/")) > > Using combinations of wildcard macher and simple selector does work, but is > quite verbose. > A "not c" pattern is not generally available (decomposing c into positive > and negative set patterns > might work, but will be even more writing for c's that include several > characters). > > Any selector I did miss? > > Regards, > Rainer Pruy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]