Update: Ouch, this works better:for //li/* mv text() replace . ;
or, even shorter:for //li/* { xmove (text()|*) after . ; rm . ; }
for //li/* xmove (text()|*) replace . ;
In reply to Re: XML::Twig removing tags from content
by choroba
in thread XML::Twig removing tags from content
by slugger415
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |