redhat-developer / redhat-developer/vscode-xml

Feature request: Support xpath evaluation on xml documents

Open
#473 3 comments 9 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
328
Forks
101
Avg merge
1d 17h
Merged PRs (30d)
7

Description

On xml file, give option "XML: Evaluate xpath" in command palette to evaluate xpath expression on currently open xml document.

I tried following extensions but they are not working for me.

  1. XML tools (not actively maintained)
    https://marketplace.visualstudio.com/items?itemName=DotJoshJohnson.xml
  2. Xpath tester ( does not seem to work with xml files containing namespace )
    https://marketplace.visualstudio.com/items?itemName=creinbacher.xpathtester

It will be great if it works like below extension which is there for Visual Studio IDE (another microsoft IDE)
https://marketplace.visualstudio.com/items?itemName=UliWeltersbach.XPathInformation

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing how the extension registers actions in the command palette and how it accesses the currently open XML document. Define the XPath evaluation flow and its expected behavior, including the namespace case raised in the issue; done means an XML document offers the command and evaluates the entered expression.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.