Re: [xmlpull-user] CDSECT event not recieved
Stefan Haustein <[email protected]> Fri, 09 May 2003 15:42:50 +0200
| Newsgroups | gmane.text.xml.xmlpull.devel |
|---|---|
| Organization | Univ. Dortmund FB 4 LS 8 |
| Message-ID | <[email protected]> |
Hi Shabbar, you will only receive a CDSECT event if you use the nextToken() method. next() will conveniently collect all types of text, skipping comments, and generate a single TEXT event: The distinction of CDSECT and TEXT is irrelevant for most applications. Best, Stefan wrote: > > Hi, > > I am using XmlPull API > > version- xpp3-1.1.2a > > The Xml which I need to parse is having a CTAG > > Example Xml: > > "<TdmLineModel index=\"8203\">" + > "<getStm1eModeResponse>" + > "<getStm1eModeArray>" + > "<getStm1eModeElement>" + > "<frame>![CDATA[xyz]]</frame>" + > "</getStm1eModeElement>" + > "</getStm1eModeArray>" + > "</getStm1eModeResponse>" + > "</TdmLineModel>"; > > > But the problem is for the CDATA section I am not recieving a > XmlPullParser.CDSECT event. > I am attaching the test code for your reference. > > Please help me out. > > > Thanks > Shabbar > > --------------------------------------------------------- > Shabbar Husain > CISCO CTM (Infosys Team) > (Direct) 91-80-5010548 > (Extension) 91-80-8520261 extn 2548 > --------------------------------------------------------- > > > -- Stefan Haustein Univ. Dortmund, FB 4, LS 8 tel: +49 231 755 2499 Baroper Str. 301 fax: +49 231 755 5105 D-44221 Dortmund (Germany) www-ai.cs.uni-dortmund.de ------------------------ Yahoo! Groups Sponsor ---------------------~--> Rent DVDs Online - Over 14,500 titles. No Late Fees & Free Shipping. Try Netflix for FREE! http://us.click.yahoo.com/YoVfrB/XP.FAA/uetFAA/2U_rlB/TM ---------------------------------------------------------------------~-> To unsubscribe from this group, send an email to: [email protected] Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/