EC-XAMAS: supporting e-commerce activities by an XML-based adaptive multi-agent system