programmatically add wrapping tags
Posted: Tue Dec 19, 2023 1:11 am
Hi, I want to replace this
with this
I've done this kind of thing with Python xml.etree.ElementTree, but is there a way to do it in Oxygen?
Maybe I can select Foo with this
is there a way to wrap it with another tag?
Thanks for reading!
Code: Select all
<entry namest="col1" nameend="col2"><para>Foo
Code: Select all
<entry namest="col1" nameend="col2"><para><emphasis role="bold">Foo</emphasis>
Maybe I can select Foo with this
Code: Select all
//entry[@namest='col1' and @nameend="col2"]/para/text()
Thanks for reading!