Thank you, Do you think that this feature will be integrated into XXE in a future version.
Jean-Luc -----Message d'origine----- De : xmleditor-support-bounces at xmlmind.com [mailto:xmleditor-support-bounces at xmlmind.com] De la part de Hussein Shafie Envoy? : mardi 15 juillet 2008 11:35 ? : Ates Infos Cc : Y.Forkl at srz.de; xmleditor-support at xmlmind.com Objet : Re: [XXE] search and replace on a tag Ates Infos wrote: > > Is it possible to design a search to replace XXE on a tag. > Example: > I'm looking for "Hello" in a tag <para> and I want to replace it with > a "Hello world" but only in <para> elements. > --> You need to record a macro for that: [1] Esc m = Start recording [2] Esc g = find element: specify para containing substring "Hello". Click OK. [3] Use the Search tool to search "Hello". Click Start and once "Hello" is found in the para selected by step #2 click Stop. [4] Now "Hello" is selected. Type "Hello world" to replace it. [5] Esc m = Stop recording After that, press Esc p to replay the macro as many times as needed to. --> Note that free XMLmind XML Editor Personal Edition v4 (should be released next week) has the macro recorder. This is not the case in XXE v3. --> Also note that XMLmind XML Editor v4 (all editions) has a new command called replaceText which allows to to combine step #3 and step #4 in a single step. Command replaceText is not bound to a keystroke. You need to type Esc x (Tool|Execute Command) and then type "replaceText" (should be suggested by the auto-completion of the dialog box of Tool|Execute Command). -- XMLmind XML Editor Support List xmleditor-support at xmlmind.com http://www.xmlmind.com/mailman/listinfo/xmleditor-support

