Is there a way to get a CXMLElement back when xpath querying a document? The XCMLNode item returned by the - (NSArray *)nodesForXPath:(NSString *)xpath error:(NSError **)error; doesn’t contain the attributes functions.
Is there a way to either directly get an element or convert the node to an element?
Thanks
You can cast it, but be sure to check the type first: