Paul Clapham wrote:The short answer is that your code has to keep track of where it is in the document. In other words, it needs to know whether it's inside a <threat> element or not.
Hey, first and foremost thanks for your response.
Being as though i'm new to StaX and for that matter
Java, would you be able to maybe point me in the direction to find out more on how i will keep track of the position???
Thanks