• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
-nodesForXPath: and xmlns:foo
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

-nodesForXPath: and xmlns:foo


  • Subject: -nodesForXPath: and xmlns:foo
  • From: "Michael Hanna" <email@hidden>
  • Date: Fri, 23 Nov 2007 13:18:12 -0800

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
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Large progress indicators in Leopard
  • Next by Date: weird error message
  • Previous by thread: Re: Problem with WithBindings sample code?
  • Next by thread: weird error message
  • Index(es):
    • Date
    • Thread