Re: Reading XML 1.1

2016-03-19 Thread John Brownie
On 14/03/2016 19:14, John Brownie wrote: Is it possible to read an XML 1.1 file using NSXMLDocument? The crucial thing for my purposes is that the character set allowed in XML 1.1 is larger. XML 1.0 defines characters as: Char ::= #x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD]

Re: Reading XML (Mr. Gecko)

2008-05-04 Thread Jens Alfke
On 4 May '08, at 1:35 PM, Richard Wolf wrote: Your next task is to learn XQuery. If you are going to deal with searching XML data for values, this is a MUST, but you will be amply rewarded for all your efforts. XQuery's powerful, all right, but it's kind of complicated, so I thought it

Re: Reading XML (Mr. Gecko)

2008-05-04 Thread Richard Wolf
Is there any like framework that will let you do that? Is there an example for how to read xml? Is there a tutorial? Yes, yes, and yes. Mr. Gecko, In answer to your queries ... one word. XQuery. NSXMLNode's objectsForXQuery:error: and objectsForXQuery:constants:error: do exactly what you w

Re: Reading XML

2008-05-03 Thread John Calsbeek
NSXMLElement represents a single element, not an NSDictionary. Just purge the word "NSDictionary" from your mind, and start reading: