PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Doesn't seem to work with simplexml though. Overall this doesn't seem to be a standard-compliant way as the primary node type for the following-sibling axis is element, not any node and thus in theory it should have returned <br>
kc11 wrote:Do you have any online xpath references you can recommend?
For me it's Google, mostly, plus some field experience with xpath. The spec on w3.org is also pretty usable if you know what to look for. Previously I used Xpather extension for firefox in my experiments with xpath.