• 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: Parsing XML and DTD's (XML Newbie)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Parsing XML and DTD's (XML Newbie)


  • Subject: Re: Parsing XML and DTD's (XML Newbie)
  • From: Dave Hersey <email@hidden>
  • Date: Fri, 19 Dec 2003 21:17:24 -0500

Hi Devin,

One problem with NSXMLParser is that it requires 10.3 or later. Maybe not an
issue for you, but if so, check out CFXML instead:

Here's the top-level doc:

http://developer.apple.com/documentation/CoreFoundation/Conceptual/CFXML/ind
ex.html

And specifically about how to parse XML with it:

http://developer.apple.com/documentation/CoreFoundation/Conceptual/CFXML/Tas
ks/ParsingXMLDocuments.html

(Note that the example parses a plist, but the parser doesn9t require that
format of XML.)

There are also a number of Objective C frameworks that are floating about. I
think you'll find info on those, if you search the archives at
http://cocoa.mamasam.com/

- Dave

--
Dave Hersey
Paracoders, Inc.
The Software Development Group http://www.paracoders.com/


On 12/19/03 8:08 PM, "Devin Lane" <email@hidden> wrote:

> Hello all:
>
> Just a question: I noticed that the RSS format is XML, but not like a
> plist, so I can't use NSDictionary with it. However, I would like to
> make use of this file in some manner, and was wondering how do do that.
> I looked at NSXMLParser, but it seems hopelessly complicated. I was
> thinking that if I had the DTD, (which I do), I could somehow read the
> file. That apparently isn't the case. I know nothing about writing a
> parser, so help would be gratefully appreciated.
>
> Thanks, and Happy Holidays
>
> -- Devin Lane, Cocoa Programmer,Benson H.S. Newspaper Layout Designer,
> email: email@hidden
> _______________________________________________
> 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.
_______________________________________________
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.

  • Follow-Ups:
    • Re: Parsing XML and DTD's (XML Newbie)
      • From: Chris Ridd <email@hidden>
References: 
 >Parsing XML and DTD's (XML Newbie) (From: Devin Lane <email@hidden>)

  • Prev by Date: Re: Bug when encoding subclasses of NSData?
  • Next by Date: NSPureApplication
  • Previous by thread: Parsing XML and DTD's (XML Newbie)
  • Next by thread: Re: Parsing XML and DTD's (XML Newbie)
  • Index(es):
    • Date
    • Thread