applied speedup to xmlSearchNs() as suggested by Luca Padovani. Cleaned up

* tree.c: applied speedup to xmlSearchNs() as suggested by
  Luca Padovani. Cleaned up xmlSearchNsByHref() in the process
  applying the same trick.
Daniel
2 files changed