Huditsch, Roman (LNG-VIE) wrote: > > I have the following requirement to solve in XXE: > > Given is an text paragraph with multiple inline elements like: > > <absatz>Im vorliegenden Fall hat der Arbeitgeber am letzten Tag der > einmonatigen Probezeit gegen?ber der <starke-betonung>Lebensgef?hrtin des > Arbeitnehmers</starke-betonung> die Beendigung des Dienstverh?ltnisses > erkl?rt.</absatz> > > The author selects the text "des" within the <starke-betonung> element. > With pressing ALT + D the author now wants to "exclude" the selected text > from the <starke-betonung> > > As a result the XML should look like: > > <absatz>Im vorliegenden Fall hat der Arbeitgeber am letzten Tag der > einmonatigen Probezeit gegen?ber der <starke-betonung>Lebensgef?hrtin > </starke-betonung>des<starke-betonung> Arbeitnehmers</starke-betonung> die > Beendigung des Dienstverh?ltnisses erkl?rt. </absatz> > > Is there a simple way to accomplish that? Or do I need to run a stylesheet > for that? >
Personally, I would write a macro based on the "split" command. See http://www.xmlmind.com/xmleditor/_distrib/doc/commands/split.html

