• 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: Property List Services and XML
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Property List Services and XML


  • Subject: Re: Property List Services and XML
  • From: Matt Neuburg <email@hidden>
  • Date: Mon, 16 Sep 2002 10:15:30 -0700

On Sun, 15 Sep 2002 17:36:37 +0100, Pete Carss <email@hidden> said:

>There seems to be a dirth

dearth

>of fully matured XML technologies available
>to Cocoa

I see this claim from time to time, but my own experience is just the
opposite. Bear in mind that arbitrary XML structures are not directly
translateable to NSArray, NSDictionary, or any other built-in collection.
Therefore they must be left as a CFXMLTreeRef. I think the whole
implementation of tree, node, subtree, nodetype, nodestring, and so forth,
is positively brilliant.

It takes only a moment to write utility routines for dealing with this so
that from then on you can do whatever it is you need to do. For example it
took me about five minutes to write a couple of routines so that I can walk
down the structure using tag names to reach a certain tag and its sub-tags
and get their values by tag name. So, sure, those routines are basically
Carbon, but with them out of the way, my contact with the XML from the rest
of my program feels like pure Cocoa to me. m.
--

matt neuburg, phd = email@hidden, http://www.tidbits.com/matt
pantes anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart. http://www.tidbits.com/
_______________________________________________
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.

  • Prev by Date: Re: [newbie] 10.2 Build problems
  • Next by Date: Re: table column text won't right justify
  • Previous by thread: Re: Property List Services and XML
  • Next by thread: Help with Help
  • Index(es):
    • Date
    • Thread