-nodesForXPath: and xmlns:foo

  • 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
previous month november 2007 next month
MTWTFSS
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30    
Go to today