StAX XML all content between two required tags

omego

New Member
Starting learning the StAX, using XMLStreamReader, I faced with some problem. How can I get ALL content between tags as Text? I mean, I know name of needed tag, and when I find it, I must go to the close tag, and everything I found between them I must append at some string.For example, we have something like\[code\]<rootTag>... <someTag> Some text content and other tags here
 
Back
Top