KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Lets say that we have the following code: <node> <element bla="1"/> <element bla="2"/> <element bla="3"/> <element bla="3"/> <element bla="3"/> <element bla="4"/> </node> How would you go about selecting the first child that has attribute equal to 3? I was thinking that perhaps this could do the job: element[bla="3"]:first-child ...but it did not work
Tags (comma-separated)
Save Edits
Cancel