I am trying to parse a html file/strings for two things using php and xpath.
<DIV STYLE="top:110px; left:1280px; width:88px" Class="S0">Aug30</DIV>
I tried to look for an unknown value (here: Aug30) with knowing the style top and left value (here: 110px and 1280px).
And the other way. I know the value Aug30 but want to get its values of top and left.
Perhaps XPATH is not the best way to do this. Any idea on how to solve my problem?
Thanks in advance for your help!
contains()function, the first on the attribute, and fetch the string content of that node, the second onecontains()on the string content, and just return the whole attribute & parse out the left & top with PHP, trying to do that with XPath is difficult and cumbersome at best, it there's a reasonable way at all.