//if you get the node (firstPathurlXmlNode):
//you can get the string value of that node, and make a NSURL with it:
NSString* firstPathString = [firstPathurlXmlNode stringValue];
NSURL * mediaurl = [NSURL URLWithString: firstPathString];
//you can remove the %-escaping:
NSString* non_escapedPath = [firstPathString stringByReplacingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
//=============
//you can get the string value of that node, and make a NSURL with it:
CFStringRef cfFirstPathString = CFXMLNodeGetString(firstPathurlXmlNode);
CFURLRef cfMediaurl = CFURLCreateWithString(kCFAllocatorDefault, cfFirstPathString, NULL);
//you can remove the %-escaping:
CFStringRef cfNon_escapedPath = CFURLCreateStringByReplacingPercentEscapes(kCFAllocatorDefault, cfFirstPathString, CFSTR(""));