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.