Here is a piece of html to be parsed:
<td style="text-align:center; color:black; background:#ff6666; border:2px solid #8811ff;" title="Alkali metals; Primordial; Solid">
37
<br />
<a title="Rubidium" href="/wiki/Rubidium">Rb</a>
</td>`
I can get the values with xmlValue
.
What I get is:
text br a
"19" "" "K"
But I want to get the value of attribute, in td
, the attribute of title
, value is "Alkali metals; Primordial; Solid" in a
, the attribute of title
, value is "Rubidium".
How can I get it?