Re: Problem in Parsing

Aleksander Slominski <[email protected]>
Newsgroups gmane.text.xml.xmlpull.devel
Message-ID <[email protected]>
"Nikhil C. Khedkar" wrote:

>   is there any way (API) to detect any <next
> s:href="#sid1" /> element, that is the one without any
> content? I get notification for START_TAG and END_TAG.

hi,

it is required as <t/> is equivalent to <t></t> however you can use
function isEmptyElementTag() to check that START_TAG is type of <t/>
see: http://www.xmlpull.org/v1/doc/api/org/xmlpull/v1/XmlPullParser.html#isEmptyElementTag()

alek
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.