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 "and" this operator #27

Open
ralfbawg opened this issue Dec 26, 2016 · 2 comments
Open

How to use "and" this operator #27

ralfbawg opened this issue Dec 26, 2016 · 2 comments

Comments

@ralfbawg
Copy link

//span[@class='info-name' and contains(text(), 'sometext')]/following-sibling::span/text()
this can't work on 0.3.1 and it parse to "span .info-name null :parent:root"

@code4craft
Copy link
Owner

It is not supported yet.

@ralfbawg
Copy link
Author

ralfbawg commented Dec 27, 2016

contain的功能我扩展一下OK了,但following-sibling这种轴的貌似xsoup那里没有相关实现,估计改起来比较麻烦,你有啥思路可以交流下吗,我的想法是与byfunction的方法类似,判断相关轴的语法,你觉得呢?

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

2 participants