what’s the equivalent method of XMLStreamReader in java.
I want to use it in the following case.
case XMLStreamConstants.START_ELEMENT.
what’s the equivalent method of XMLStreamReader in java. I want to use it in
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
i think what you are looking for is
getElementText()http://download.oracle.com/javase/6/docs/api/javax/xml/stream/XMLStreamReader.html#getElementText()
this was given as returning all XML underneath the current element as opposed to a feature request for innerText() in a site i came across, however, i can’t seem to track down the link.