On 4月7日, 下午3时36分, Chris Neels <chrisne...@live.ca> wrote:
> http://www.xmlpull.org/v1/doc/api/org/xmlpull/v1/XmlPullParser.html#g...()
On 4月7日, 下午8时41分, 李亚博 <liyabo...@hotmail.com> wrote:
> Hi Meghan,
>
> what does event type means in xmlpullparser? and what does the "token" (NextToken()) exactly mean here? I just cannot map the components in xml files to the handler methods the xmlpullparser provides. could you give me some examples to declarify what these methods correspond to using the xml file you sent to me last time?
>
> Leo
>
>
>
>
>
> > From: meghan.al...@gmail.com
> > Date: Wed, 7 Apr 2010 20:27:25 -0700
> > Subject: Re: Pull Parser Example
> > To: ubc-cp...@googlegroups.com
>
> > Hi Leo,
>
> > Yes, that's correct.
>
> > meghan
>
> > 2010/4/7 yabo <liyabo...@hotmail.com>:
> > > is that true when we use XmlPullParser then we don't need to create
> > > another datahandler class to read and handle xml files?
>
> > > On 4 7 , 3ʱ36 , Chris Neels <chrisne...@live.ca> wrote:
> > >>http://www.xmlpull.org/v1/doc/api/org/xmlpull/v1/XmlPullParser.html#g...()
>
> > --
> > To unsubscribe, reply using "remove me" as the subject.
>
> _________________________________________________________________
> ֪ Σ Ӧ 㣡http://cn.bing.com/search?q=%E5%A4%A9%E6%B0%94%E9%A2%84%E6%8A%A5&form...- 隐藏被引用文字 -
>
> - 显示引用的文字 -
For the setInput method and the event type, have you tried looking at
the APIs and searching for examples on the web?
meghan
Yes, but the examples are really not clear since they don't have clear
xml file examples. and there is one that has an xml file as an
example, but I don't think that' correct.
---<response>
---<status><name></name></status>
---<gravity><g1></g1></gravity>
---</response>
as an example and the code says "xpp.setInput( new
StringReader("<response><status><name></name></status><gravity><g1></
g1></gravity></response>" ) );"
do you have a real good example? if you have can you send it to me?
Leo
> >> ֪ Σ Ӧ 㣡http://cn.bing.com/search?q=%E5%A4%A9%E6%B0%94%E9%A2%84%E6%8A%A5&form...隐藏被引用文字 -
>
> >> - 显示引用的文字 -- 隐藏被引用文字 -
>
> - 显示引用的文字 -