• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: XML parser for objective C
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: XML parser for objective C


  • Subject: RE: XML parser for objective C
  • From: Oliver Donald <email@hidden>
  • Date: Fri, 30 Sep 2005 11:03:52 +0100

ObjC/Cocoa has XML parsers. Theres an event driven parser, which I don't
know much about, but theres also NSXMLDocument. This inherits from
NSXMLNode, and as a result you can use xpath queries using methods like
nodesForXPath: and objectsForXQuery: to query the document for all the
attributes or whatever you want. In case you don't know about XPath, read
http://www.w3schools.com/xpath/default.asp, its really cool!

Hope that helped :)

-----Original Message-----
From: David Chan [mailto:email@hidden]
Sent: 30 September 2005 10:53
To: email@hidden
Subject: XML parser for objective C


Dear All,
 I've just got my hands on objective C and cocoa and at the moment, I was
given task to parse some XML files using the objective C project I am
developing to get some attribute from the XML. I was given a folder of XML
parser library written in C, but I am not sure how to use that to parse the
XML files. Is there any sample code out there which I can refer to so that I
can have better idea of how to parse XML files from my objective C class?
Thanks a lot.

Regards
David
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


DISCLAIMER: The information contained in this e-mail is confidential and may
be privileged. It is intended for the addressee only. If you are not the
intended recipient, please delete this e-mail immediately. The contents of
this email must not be disclosed or copied without the sender's consent. We
cannot accept any responsibility for viruses, so please scan all
attachments. The statements and opinions expressed in this message are those
of the author and do not necessarily reflect those of the company. The
company does not take any responsibility for the views of the author.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: XML parser for objective C
  • Next by Date: Re: XML parser for objective C
  • Previous by thread: Re: XML parser for objective C
  • Next by thread: Re: XML parser for objective C
  • Index(es):
    • Date
    • Thread