Andy,

A simple example is provided on the already linked article for
PullParser 
(http://developer.android.com/reference/org/xmlpull/v1/XmlPullParser.html)

An example for using the SAXParser is available here:
http://www.anddev.org/parsing_xml_from_the_net_-_using_the_saxparser-t353.html

If you get exceptions, please post them up (along with your source
code) so we can take a look at them and try to help out.


Regards,

Sean


On Wed, Jun 10, 2009 at 12:31 PM,
[email protected]<[email protected]> wrote:
>
> Can you actually show me some code doing it - I ave tried using these
> and always fail with some exception... please demo how you would do
> it!
>
> On Jun 10, 9:11 am, Marc Lester Tan <[email protected]> wrote:
>> or use Pull Parser:
>>
>> http://developer.android.com/reference/org/xmlpull/v1/XmlPullParser.html
>>
>> -Marc
>>
>> On Wed, Jun 10, 2009 at 3:59 PM, Dave Bordoley <[email protected]> wrote:
>>
>> > Use a SAX parser to parse the XML, see
>> >http://developer.android.com/reference/javax/xml/parsers/SAXParser.html.
>>
>> > Dave
>>
>> > On Tue, Jun 9, 2009 at 7:36 PM,
>> > [email protected]<[email protected]> wrote:
>>
>> > > Right this is the problem. I am trying to find specific words within
>> > > this large OPML file which content is
>>
>> > > :http://news.bbc.co.uk/rss/feeds.opml
>>
>> > > The file is a large list of rss feeds for various bbc news items - and
>> > > I need to parse it to find specific feeds.
>>
>> > > Currently I am doing it as follows:
>>
>> > >  http://pastebin.com/m15e0ea5f
>>
>> > > This is fairly fast if i search for say "celtic" however if you enter
>> > > "w00f" and run the command it will be disgustingly slow.
>>
>> > > Can anybody demonstrate how I can parse this opml file using the
>> > > android xml parsers please - because i have tried, and tried, and
>> > > tried and cannot get it to do it!
>>
>> > > Cheers
>>
>> > > Andy
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to