Omni Expat Again...
Omni Expat Again...
- Subject: Omni Expat Again...
- From: "Casey O'Donnell" <email@hidden>
- Date: Thu, 20 Jun 2002 05:53:47 -0700 (PDT)
Was just hoping to follow up, there is plenty of volume on the list, and I'm afraid I was buried. So, I was curious if anyone else had experience with OmniExpat, and perhaps had experienced a problem I've been having.
Imagine you have the following XML contained in a file (the FILE tags being INSIDE the file):
<FILE>
<TAG ID="TURKEY">TURKEY TEXT HERE</TAG>
<TAG ID="FUZZ">FUZZ TEXT HERE</TAG>
<OTHERTAG>Something</OTHERTAG>
</FILE>
Just to test if I can use this, I'm using the xml2plist utility app (that just then NSLogs the NSDictionary Object), that I assume will show me the limitations of these routines.
The Dictionary object that I get for TAG tags only have
"TAG" containing another dictionary of key "ID" and value "TURKEY" and "FUZZ" respectively. The text inside the "TAG" tag is lost.
"OTHERTAG" tags have the key "OTHERTAG" and the value "Something".
Is this by design or an oddity? Or is it really there and the xml2plist example just isn't printing that? I'm almost on my way back to the C++ version of Xerces, as I wrote my original version of this App in Java using Xerces, and porting my Java parser is going to be easier than monkeying with this any more.
ANY HELP WONDERFUL!
Thanks.
Casey
--
http://homepage.mac.com/~codonnell/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.