Home Forums General XMetaL Discussion ID List Retrieval Reply To: ID List Retrieval

Derek Read

Reply to: ID List Retrieval

It depends on what you need to do with this information afterwards. If you need to visit each node to change it in some way it can be more efficient to walk the document element by element (there are various APIs for moving between nodes or elements) and check each for an @ID. If you just need to gather the list of nodes for use elsewhere then getNodesByXPath may be more efficient.

Reply

Products
Downloads
Support