enlive
enlive copied to clipboard
OR operator in enlive
Hi, is there a way to do an OR query with enlive? Something like:
(enlive-query-all *my-parsed-html* [.type1 | .type2])
In the example below, I would be looking to get element of type1 and type2 but not type3:
Example html:
<body>
<tr class='type1'>
...
</tr>
<tr class='type2'>
...
</tr>
<tr class='type3'>
...
</tr>
</body>
Note I have a way to do this but it's not pretty..