Make NSXMLElement a parent
-
11-06-2021 - |
Question
Is there a way that I can make an NSXMLElement a parent, instead of an NSXMLNode?
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