Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / Mac Programming / August 2008



Tip: Looking for answers? Try searching our database.

NSXMLDocument namespaces

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Gernot Schlegl - 19 Aug 2008 23:30 GMT
Hi,

I'm new to objective-c and cocoa and try to access a XmlREST webservice.
Unfortunatly the service requires namespaces.

Here is what I've done:
I'm creating a xml document from scratch using elementWithName.
I'm using NSXMLNode elementWithName: URI where the URI is the URI of
the namespace, but if I marshal it with NSXMLDocument XMLData the
namespaces aren't added.
Do I have to declare and add them to the xml document?
David Phillip Oster - 20 Aug 2008 09:28 GMT
> I'm new to objective-c and cocoa and try to access a XmlREST webservice.
> Unfortunatly the service requires namespaces.
[quoted text clipped - 5 lines]
> namespaces aren't added.
> Do I have to declare and add them to the xml document?

For example source of construct XML documents, including namespace
handling, look at: http://code.google.com/p/gdata-objectivec-client/ It
isn't the sepcific XML you are looking for, but it is a good example of
constructing XML using NSXMLDocument and friends.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.