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

support attribute matching in WDBC path filter #1

Open
unidal opened this issue Feb 20, 2012 · 0 comments
Open

support attribute matching in WDBC path filter #1

unidal opened this issue Feb 20, 2012 · 0 comments

Comments

@unidal
Copy link
Collaborator

unidal commented Feb 20, 2012

WDBC path syntax:

[ '[' ']' ] '.' ( [ '[' ']' ] )* [ '.' ( '@' | '@text' | 'text' | '' ) ]

examples,

html.head.title
html.body.a[].@href
html.body.form[2].input[
]
table[3].tr[2-].td[8].div[].text
ul[2].li[
].

But we need support following cases:

div[@id=nav].h1
div[5].div[@Class=head].table.*

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

0 participants