You need to parse the XML in such a way as to capture all the data / subtags for a given single tag. For example:
<root> <Response> <Data> <Item>something</Item> <Number>1</Number> </Data> <Data> <Item>book</Item> <Number>2</Number> </Data> </Response> </root> The task is to select the following XML fragment according to a given tag, in this case Response:
<Response> <Data> <Item>something</Item> <Number>1</Number> </Data> <Data> <Item>book</Item> <Number>2</Number> </Data> </Response>