diff --git a/src/features/xmlXPathEngine.ts b/src/features/xmlXPathEngine.ts index 2f8218e..237ac5f 100644 --- a/src/features/xmlXPathEngine.ts +++ b/src/features/xmlXPathEngine.ts @@ -34,6 +34,8 @@ export function evaluateXPath(editor: TextEditor, edit: TextEditorEdit): void { if (resultChannel === null) resultChannel = window.createOutputChannel('XPath Evaluation Results'); resultChannel.clear(); + resultChannel.appendLine('Last query: ' + query + '\n'); + nodes.forEach((node) => { resultChannel.appendLine(`${node.localName}: ${node.firstChild.data}`); });