microsoft / microsoft/XmlNotepad
Add strings to existing text, using Xpath
Open
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 1.2k
- Forks
- 240
- PR merge metrics
- No merged PRs in 30d
Description
(Seem to be similar to #53 )
I want to
- search for a text with Xpath and
- modify the found text with a new string as prefix, e.g. "hello "
Searching would be done with Xpath, e.g. with "/PLAY/ACT/SCENE[1]/SPEECH[1]/SPEAKER/text()" for Hamlet.xml.
But how to add the prefix to the found text?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the existing XPath search and editing behavior, and compare this request with issue #53. Use the XPath example against Hamlet.xml to determine how a selected text node should be updated with a prefix, then define how the behavior should be verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100