Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use :nth-of-type() #77

Open
hibari9 opened this issue Aug 7, 2023 · 0 comments
Open

How to use :nth-of-type() #77

hibari9 opened this issue Aug 7, 2023 · 0 comments

Comments

@hibari9
Copy link

hibari9 commented Aug 7, 2023

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)
^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant