Question

Is there a way that I can make an NSXMLElement a parent, instead of an NSXMLNode?

Was it helpful?

Solution

Ok solved... typecasting the type seems to do the trick.

NSXMLNode *manufacturer = [someNode parent];
NSXMLElement *manufacturer_element = (NSXMLElement *)manufacturer;
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top