XPath query dialog window

Choose XPath Query (Ctrl+Q) to display the XPath Query dialog window.

XPath query dialog

Specify XPath expression you want to find in document(s) and to set where that affect the search.

XPath query locates the placement of code containing occurrence of the xml elements and highlights it.

Dialog box options

Option Meaning
XPath query An XPath query expression. You can click the down arrow next to the input box to select from a list of previously entered expressions.
Where Search current file, all open files or in directories. If Search in directory option is selected, Directory, Include subdirectories, Which files, Action options appears.
Directory Directory path where to find files
Include subdirectories Check option to scan all subdirectories
Which files Select file type where to search
Action You can select one of four available actions:
  • Show found lines in Info panel
  • Create description file in folder where search started
  • Create index files in folder where search started
  • Pass found text selection to the external program or DLL

If Pass found text selection to the external program or DLL option was selected, Program or DLL option appears.

Program or DLL e.g. split.dll#splitByNumber Choose program from list of executable files. 

Note that dialog pass to the external program selection in temporary created file and substitute name of temporary file at the end of command string. Therefore all required parameters must be provided before last option where file name is passed.

Alternatively, it is possible to call library function. Browse DLLs and select what do you want to use. Then add '#' sign to the end of DLL path and name of function contained in DLL. This is void function (PChar*filename).

See also: XPath expressions regular expressions Find text dialog Replace text dialog Keyboard shortcuts