Need sample code...XML parsing...
Need sample code...XML parsing...
- Subject: Need sample code...XML parsing...
- From: Albert Atkinson <email@hidden>
- Date: Tue, 17 Sep 2002 16:05:31 -0500
Hello!
I looked through the archives and took a look at some of the resources
others recommended but I could make neither head nor tails of any of
it. So, I was wondering if anyone would be so kind as to take a minute
and whip up a sample code for me?
Here is what I need, I have an XML file at www.mysite.com/xmlfile.xml
that I need my app to download and parse.
Here is what it looks like:
<?xml version="1.0"?>
<mydata>
<name>Me!</name>
<email>My Email</email>
</mydata>
This is just a stripped down file but the real one contains actual
information. Now, I want to parse this data and insert it into a text
field. The data from "name" goes into NameTextField and the data from
"email" go into EmailTextField.
Could someone supply me with some sample code please?
Thanks!
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.