I have an XML validate and remove use-case. I'll use following sample to
explain
<request>
<pizza>
<vegetable>pineapple<vegetable>
</pizza>
<!--following one is an wrong and should be remove-->
<pizza>
<vegetable>chicken</vegetable>
</pizza>
<pizza>
<meat>chicken</meat>
</pizza>
</request>
For each pizza I have a validity criteria and I have to remove the ones
that are invalid.
I am currently planning to iterate and do a validate mediator. But I am not
sure how to aggregate. I can't use enrich since the original scope is not
visible. I can't use aggregate mediator since I don't know the message
count.
Please advise me on possible options.
--
With regards,
*Manu*ranga Perera.
phone : 071 7 70 20 50
mail : [email protected]
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev