"Richard L Rosenheim" <ri*****@rlr.com> wrote in message news:uM**************@TK2MSFTNGP09.phx.gbl...
Is it possible to have a XPath query that returns all elements where any of
its attributes begins with the specified string?
//@*[starts-with(local-name(),'yourString']/..
This gets all attributes, filters them down to only those that have a local name
starting with the text "yourString" (matches attributes named yourStringAttr,
yourString, but does not match attributes named your or myString), and then
walks back up to the parent element(s) using ".." at the end.
Derek Harmon