• 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
XML to NSDictionary
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

XML to NSDictionary


  • Subject: XML to NSDictionary
  • From: Alexander Griekspoor <email@hidden>
  • Date: Fri, 10 Nov 2006 11:30:02 +0000

Hi,

I have an XML file that I want to convert to a nsdictionary for easy access/enumeration etc. instead of using XPath queries all the time to do lookups (this works but gets rather slow and seems expensive with large xml files). So I was playing with the following thought: would it perhaps be a good plan to do an XSLT operation on the xml document to at once convert it into apple's plist format and use that to instantiate an NSDictionary from? Has anyone ever tried something alike or could comment on whether this would be something smart to do?
Another thing to speed up parsing my xml file would be to use an xslt to remove all unwanted crap from the xml file, after which xpath queries will be much faster I guess? I don't like the xml parser as an alternative for the dom based approach because it gives you so much info to handle that I don't care about (but perhaps not after the xslt based removal of unwanted info that I was thinking about above). Any feedback is welcome.
Alex


***********************************
Mek (Alexander Griekspoor)
     MekenTosj.com
Web: http://www.mekentosj.com
Mail:  email@hidden
***********************************


_______________________________________________ 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
  • Follow-Ups:
    • Re: XML to NSDictionary
      • From: Marcel Weiher <email@hidden>
    • Re: XML to NSDictionary
      • From: Marc Respass <email@hidden>
    • Re: XML to NSDictionary
      • From: Robert Walker <email@hidden>
  • Prev by Date: Re: Creating an NSTimer subclass
  • Next by Date: Re: [moderator] Re: Authorization code fails in Leopard
  • Previous by thread: Convert path format?
  • Next by thread: Re: XML to NSDictionary
  • Index(es):
    • Date
    • Thread