• 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
Creating NSXMLDocument programmatically
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Creating NSXMLDocument programmatically


  • Subject: Creating NSXMLDocument programmatically
  • From: John Brownie <email@hidden>
  • Date: Wed, 23 Mar 2016 12:46:29 +1000

I'm building an XML tree from an XML file which is XML 1.1, so has character references that NSXMLDocument cannot handle natively. So, I'm working with a modified version of the Expat parser and building the tree as I go.

The problem: How do I associate a DTD with the document? setDTD: became unavailable in 10.10, but there appears to be no replacement. I'm still running Xcode 7.0.1, so maybe there's something newer that I can't see, but a Google search doesn't turn it up. Using addChild: raises an exception, so I'm wondering if there is any way to do this now.

Thanks for any pointers.

John
--
John Brownie, email@hidden or email@hidden
Summer Institute of Linguistics, Ukarumpa, Eastern Highlands Province, Papua New Guinea
Mussau-Emira language, Mussau Island, New Ireland Province, Papua New Guinea
_______________________________________________

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: Creating NSXMLDocument programmatically
      • From: Quincey Morris <email@hidden>
  • Prev by Date: IKImageBrowserView bug?
  • Next by Date: Re: Creating NSXMLDocument programmatically
  • Previous by thread: Re: IKImageBrowserView bug?
  • Next by thread: Re: Creating NSXMLDocument programmatically
  • Index(es):
    • Date
    • Thread