Sean Russell wrote: > > I was working on a very large XML file a few days ago, and found myself > wishing that I could search the document by XPath. In particular, I was > looking for an element that had a particular attribute set, and I don't > believe there's a way to search by attribute in the current XXE. > > Would you mind adding an XPath evaluator tab, snuggled right up against > the "Search" tab? XXE probably already has a built-in XPath evaluator, > so it may not be too difficult.
XXE has an evaluator for a subset of XPath: a little bit more than the subset required by XML Schema. (We really try to keep XXE as small as possible.) > The other option is for me to use the > scripting feature of XXE and write this myself (as long as the required > APIs are exposed) Developer's Guide and API documented in Javadoc will be released at the end of this month. > but I thought it might be more generally useful. True. We already had the even more general idea of a structured search/replace (based on XPath for matching nodes) complementing current textual search/replace. But today this feature has not a high priority in our TODO list.

