Or, more elaborate:open file ; rename Heading_1 /root/H1 ; rename Heading_2 /root/H2 ; save :b ;
Note that I use an underscore instead of a space, see mirod's Re: Replacing XML Tag name with another.rename :i { s/h/Heading_/ } /root/*[xsh:match(name(),'H[12]')] ;
In reply to Re: Replacing XML Tag name with another
by choroba
in thread Replacing XML Tag name with another
by sandy88
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |