Is there a fast way to get the last child in an Xpath?
For example, If I had something like this:
UL
|--- LI
|--- LI
|--- LI
|--- LI
|--- LI
And I wanted the get the last LI(but I don't know there are 5 of them), aside from getting a count of the children for the UL object and using the var in the xpath, can I do something else that is faster?
Say something like: objLI = objUL.FindSingle("./li[$]") (I use $ in my example because it means look at end for regular expression)
Thanks,
Aracknid