开发者

c# System.Xml.XmlReader ReadInnerXml()

开发者 https://www.devze.com 2023-03-19 17:21 出处:网络
what\'s the equivalent method of XMLStreamReader in java. I want to use it in the following case. case XMLStreamConstants.START_ELEMENT.开发者_如何转开发i think what you are looking for is getElement

what's the equivalent method of XMLStreamReader in java. I want to use it in the following case. case XMLStreamConstants.START_ELEMENT. 开发者_如何转开发


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消