Absolutely, the way you wrote it is more efficient. I just went for the easiest way I could think of, not knowing enough about the OP's exact constraints.
In reply to Re^3: XPATH DOM traverse html/xml
by mirod
in thread XPATH DOM traverse html/xml
by gsiglet
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |