Re: Re: Questions.
Stefan Haustein <[email protected]>
| Newsgroups | gmane.text.xml.xmlpull.devel |
|---|---|
| Message-ID | <[email protected]> |
>>nextText "eats" the text; otherwise, the state would be inconsistent >>for <tag></tag> vs. <tag>text</tag> >> > > So if you do a getType after nextText does it return TEXT or whatever > is "next" to the text ? (ie: END_TAG or START_TAG, never TEXT because > there won't be two TEXT events together) The second option is correct: After nextText (), getType never returns TEXT. It returns whatever follows the text. Best, Stefan