Is it possible to search across a xml projekt

Hi, This here is the consequence of a question and the answer from earlier this day: I would like to search in all files (xml-documents) of a project e.g. for <primary>ATP</primary> and replace it with &primATP; Is this possible with oxygen or is it more convenient to use e.g. a text editor like notepad++? In notepad++ one can look into folders and replace within different files in one run. I have never done that but it looks like. Thanks for answering Regards Bernhard -- spitzhalde9 D-79853 lenzkirch bernhard.kleine@gmx.net www.b-kleine.com, www.urseetal.net - thunderbird mit enigmail GPG schlüssel: D5257409 fingerprint: 08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09

There’s “Find/replace in files” (Ctrl-Shift-H). I’m adding a screenshot for replacing a primary term that may contain line breaks, using a regular expression. On 10.05.2018 22:13, Bernhard Kleine wrote:
Hi,
This here is the consequence of a question and the answer from earlier this day:
I would like to search in all files (xml-documents) of a project e.g. for <primary>ATP</primary> and replace it with &primATP;
Is this possible with oxygen or is it more convenient to use e.g. a text editor like notepad++? In notepad++ one can look into folders and replace within different files in one run. I have never done that but it looks like.
Thanks for answering
Regards
Bernhard

Thanks a lot, this works well and saves very much time. Bernhard Am 11.05.2018 um 08:28 schrieb Imsieke, Gerrit, le-tex:
There’s “Find/replace in files” (Ctrl-Shift-H). I’m adding a screenshot for replacing a primary term that may contain line breaks, using a regular expression.
On 10.05.2018 22:13, Bernhard Kleine wrote:
Hi,
This here is the consequence of a question and the answer from earlier this day:
I would like to search in all files (xml-documents) of a project e.g. for <primary>ATP</primary> and replace it with &primATP;
Is this possible with oxygen or is it more convenient to use e.g. a text editor like notepad++? In notepad++ one can look into folders and replace within different files in one run. I have never done that but it looks like.
Thanks for answering
Regards
Bernhard
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user
-- spitzhalde9 D-79853 lenzkirch bernhard.kleine@gmx.net www.b-kleine.com, www.urseetal.net - thunderbird mit enigmail GPG schlüssel: D5257409 fingerprint: 08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09

Hi, When refactoring XML content one other choice would be to use our "Tools->XML Refactoring" dialog. It has a choice there called "Replace element with XML Fragment" which might have been appropriate for this use case. Unfortunately it does not seem to work if I place an entity reference in the "XML Fragment" field. We'll work to fix this on our side. Regards, Radu Radu Coravu <oXygen/> XML Editor http://www.oxygenxml.com On 5/11/2018 9:28 AM, Imsieke, Gerrit, le-tex wrote:
There’s “Find/replace in files” (Ctrl-Shift-H). I’m adding a screenshot for replacing a primary term that may contain line breaks, using a regular expression.
On 10.05.2018 22:13, Bernhard Kleine wrote:
Hi,
This here is the consequence of a question and the answer from earlier this day:
I would like to search in all files (xml-documents) of a project e.g. for <primary>ATP</primary> and replace it with &primATP;
Is this possible with oxygen or is it more convenient to use e.g. a text editor like notepad++? In notepad++ one can look into folders and replace within different files in one run. I have never done that but it looks like.
Thanks for answering
Regards
Bernhard
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user
participants (3)
-
Bernhard Kleine
-
Imsieke, Gerrit, le-tex
-
Oxygen XML Editor Support (Radu Coravu)