domq 0.5.0

Tiny, zero-dependency, forgiving HTML parser: turn messy real-world HTML into a clean DOM tree (and JSON). WASM-first, no_std-friendly.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<table>
  <caption>Prices
  <colgroup><col span=2><col class=price>
  <thead>
    <tr><th>Item<th>Size<th>Price
  <tbody>
    <tr><td>Hammer<td>M<td>9.99
    <tr><td>Nails<td>100<td>2.49
  <tfoot>
    <tr><td colspan=2>Total<td>12.48
</table>
<table>
  <colgroup span=2>
  <tr><td>a<td>b
  <caption>Late caption
</table>