Skip navigation.
 
ml-nodesForXPath: and xmlns:foo
FROM : Michael Hanna
DATE : Fri Nov 23 22:18:12 2007

In a WSDL document, I want to parse an attribute that goes by the name
"xmlns:s". When I use this code:

NSArray *schemaDescription = [m_wsdlTree
nodesForXPath:@".//wsdl:definitions/@xmlns:s" error:&err];
NSLog(@"schemaDescription %@", schemaDescription);

I get a null pointer back.

How do I retrieve an attribute nested in a namespace?

Michael

Related mailsAuthorDate
No related mails found.