• 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: Custom Property List Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Custom Property List Question


  • Subject: Re: Custom Property List Question
  • From: Kevin Tatroe <email@hidden>
  • Date: Mon, 2 Jul 2001 21:10:57 -0600

Check out the BigShow source by Big Nerd Ranch, available on Softrak, for an example of how to use the low-level CFXMLParser routines to generate a graph of Objective-C objects from an XML file. It's a little rough around the edges, but works well enough.

It isn't quick (it takes about 30 seconds to load the 2-3 MB of XML data my project has, with no optimization performed yet), but neither is it as miserably slow as I'd expected...

On Monday, July 2, 2001, at 09:39 AM, Jason Brown wrote:

Is it possible to create "custom" property list tags for importing files where the custom tags would map to the tags that cocoa understands? Or even make cocoa understand a DTD for importing an XML file.

An example:

Normal File:

<array>
<string>blah blah blah</string>
<string>more blah</string>
etc
</array>

Custom File:

<library>
<book>blah blah blah</book>
<book>more blah</book>
</library>

Just curious. Thanks!

Jason Brown
Vital Source Technologies

-- _______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev


--
Kevin Tatroe
www.islandspirits.com
email@hidden


References: 
 >Custom Property List Question (From: Jason Brown <email@hidden>)

  • Prev by Date: Re: NSOpenPanel obsolete method?
  • Next by Date: Re: NSBrowser will not select row 0 (With Source)
  • Previous by thread: Custom Property List Question
  • Next by thread: RE: Setting the vm heap size...
  • Index(es):
    • Date
    • Thread