≡ Menu

Xpath vs Distinguished fields.

Xpath consider to be slower, because when we get value using xpath, the whole message will be loaded into memory, so Xpath is memory hungry  solution Distinguished filed return value faster then xpath. Distinguished filed  has limitation. It failed to returning value when message contains multiple node contains the value. In this case Xpath works wonder.
Final point is depending on need, either to use Distinguished filed or Xpath. Distinguished fields internally contain Xpath.

Comments on this entry are closed.