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 big is the scope of the translation? #1

Open
bendtherules opened this issue Jun 12, 2017 · 0 comments
Open

How big is the scope of the translation? #1

bendtherules opened this issue Jun 12, 2017 · 0 comments

Comments

@bendtherules
Copy link

This is an ideological question rather than any bug. I like the problem you are trying to solve, but am a little sceptical about it and hence this question.

How big do you feel is the scope of the translation from native python to xpath? For eg., its ok if you have a equality check as they are available in xpath. But what if I use a function for the check condition or. even simply suppose sqrt or other non-basic mathematical operations. Or maybe, I look for a value in a dictionary corresponding to the id of all the spans in the document to match something (something like a.id for a in span if (a.something == dict[a]))?
Basically, anything with a dynamic condition on the RHS. How do you plan to handle them?

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