On 16 Jul 2009, at 10:42, doug livesey wrote: > Cheers, I would, but I've been meaning to learn basic xpath for ages. > Good to have CSS for backup, though, if anything proves too much of > a time sink!
Xpath is a *lot* less flexible in terms of reordering elements though. Use CSS selectors until that one edge case where you just can't target the element you want, and then drop Xpath in there. I think I can count on one hand the number of times I've _had_ to use Xpath because CSS wouldn't target what I needed to select. C --- Caius Durling [email protected] +44 (0) 7960 268 100 http://caius.name/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "NWRUG" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nwrug-members?hl=en -~----------~----~----~----~------~----~------~--~---
