Forum Discussion
1 Reply
Sort By
- tristaanogreEsteemed Contributor
You are correct... XPath is, generally, slow because in order to use XPath, you need to parse the whole document. Using NameMapping and Aliases does the object identification based upon object properties and hierarchal relationship... and if you get everything mapped up front and done properly, I believe things SHOULD run a bit faster.
YMMV... some folks swear by XPath, some swear by NameMapping... I think it's possible to use a blend of both but I lean towards using NameMapping for most stuff and then XPath for the things that we can't do with NameMapping.
Related Content
- 6 years agoucuber
- 8 years agotristaanogre
- 5 years agosuperv0672