• 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: What do you guys use to convert an XSD to objective C data classes/structures?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What do you guys use to convert an XSD to objective C data classes/structures?


  • Subject: Re: What do you guys use to convert an XSD to objective C data classes/structures?
  • From: Luther Baker <email@hidden>
  • Date: Tue, 25 Mar 2014 14:32:35 -0500

> We have a lot of legacy systems at my latest gig that all use and output
XML data.

I remember building a few data-driven webpages completely in XML and XSLT
--- and I clearly remember thinking it was the _future_! :-)

I must admit up front that I'm not sure which general approach would be
best ... but some naive thoughts: it seems like you might be able to
leverage an XML to JSON conversion as JSON may be a bit more malleable in
Objective-C space.

Or, depending on the complexity of your project and the maturity of the
following - consider something like

        http://code.google.com/p/xsd2cocoa/

or, write one and contribute it back to the community? :-)


On Tue, Mar 25, 2014 at 2:15 PM, Alex Zavatone <email@hidden> wrote:

> We have a lot of legacy systems at my latest gig that all use and output
> XML data.
>
> For the purpose of consuming server based XML files, we're looking for a
> method to automate creation of objective c classes that represent the
> internal XML data structure.
>
> Is there any compelling reason not to deserialize into dictionaries
> instead?
>
> Which approach do you guys use?
>
> Thanks in advance.
>
> - Alex Zavatone
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: What do you guys use to convert an XSD to objective C data classes/structures?
      • From: Alex Zavatone <email@hidden>
References: 
 >What do you guys use to convert an XSD to objective C data classes/structures? (From: Alex Zavatone <email@hidden>)

  • Prev by Date: Re: CFXMLCreateStringByUnescapingEntities() bombs on "&#13207494"
  • Next by Date: Re: CFXMLCreateStringByUnescapingEntities() bombs on "&#13207494"
  • Previous by thread: What do you guys use to convert an XSD to objective C data classes/structures?
  • Next by thread: Re: What do you guys use to convert an XSD to objective C data classes/structures?
  • Index(es):
    • Date
    • Thread