Ono icon indicating copy to clipboard operation
Ono copied to clipboard

A sensible way to deal with XML & HTML for iOS & macOS

Results 7 Ono issues
Sort by recently updated
recently updated
newest added

When I use `#import "Ono.h"` in `.mm`file ,it raises error below ``` Use of '@import' when C++ modules are disabled, consider using -fmodules and -fcxx-modules ``` but I change `@import...

For the following XML document(SOAP service), XPath can't find the elements. ``` xml US Herrod [email protected] Et Commodo LLC 07/14/2014 Armand [email protected] Vel Convallis In Consulting 04/18/2015 Bernard [email protected] Cursus...

-(NSArray *)childrenAtIndexes:(NSIndexSet *)indexes { NSMutableArray *mutableChildren = [NSMutableArray array]; xmlNodePtr cursor = self.xmlNode->children; NSUInteger idx = 0; while (cursor) { if ([indexes containsIndex:idx] && cursor->type == XML_ELEMENT_NODE) { [mutableChildren addObject:[self.document...

I am not good at Objective C and github. I hope test code is right. As a workaround `.listEvent` works

I would like to have a method similar to stringValue which doesn't recursively prints everything under a certain XPathQuery. Here is the full code + HTML and the produced output...

`NSError *xmlError; ONOXMLDocument *document = [ONOXMLDocument HTMLDocumentWithData:data error:&xmlError]; ONOXMLElement *element = [document.rootElement firstChildWithCSS:@"table:nth-of-type(2)"];` XPath error : Invalid expression .//table:nth-of-type(2) ^