A method and system for generating robust XPath expressions for a selected
node in transcodable markup. The system of the invention can include a
set of differing XPath expression generators; an interface through which
at least one of the XPath expression generators can be selected; and, an
XPath generator processor configured to apply each of the selected XPath
expression generators to the selected node in the transcodable markup to
produce a redundant set of robust XPath expressions configured to
identify the selected node. Notably, the system also can include an XPath
resolution processor. The XPath resolution processor can resolve each
XPath expression in the redundant set. The resolutions, in turn, can
identify a set of candidate nodes, the XPath resolution processor
identifying the selected node from among the set of candidate nodes based
upon the XPath expressions resolving to the selected node more than any
other node in the set of candidate nodes.