How can I reuse the output of an XML service as input for a new one?