Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add strings to existing text, using Xpath #256

Open
Pierre-de-la-Verre opened this issue Jan 30, 2023 · 1 comment
Open

Add strings to existing text, using Xpath #256

Pierre-de-la-Verre opened this issue Jan 30, 2023 · 1 comment

Comments

@Pierre-de-la-Verre
Copy link

(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?

@lovettchris
Copy link
Member

Yep, this is an extension of #53
I agree this would be handy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants