Swami Kevala wrote: > > but is there a way to "unwrap" an element. For example I have a number > of <para> elements. Now I can select several consecutive paras and wrap > them in a <topic> element. Now if I decide that I want to remove the > topic element - keeping the content intact, how can I do this? >
--> Interactively: [1] Select all the children of the topic. For example, you may select the topic and then press Esc-Down Arrow (Select|All Children). [2] Press Ctrl-C (Edit|Copy) to copy all the children to the clipboard. [3] Now select the topic itself. If all its children are selected, pressing Ctrl-Up Arrow suffices. [4] Press Ctrl-V (Edit|Paste) to replace the selected topic by the contents of the clipboard. --> You may want to write a macro command to automate this. See http://www.xmlmind.com/xmleditor/_distrib/doc/commands/writing_macros.html --> When using Professional Edition: * Professional Edition has a macro-recorder which allows you to record the sequence of commands corresponding to: Esc Down Arrow Ctrl-C Ctrl-Up Arrow Ctrl-V * Professional Edition has menu item "Options|Customize Configuration|Add Keyboard Shortcut" which allows you to bind last recorded macro to keystrokes.

