Batch search & replace
Posted: Mon Jun 24, 2019 3:09 pm
Hi!
Is there a way to make batch search and replace actions, based on a txt or other input file, on a complete DITA map hierarchy? I already found the powerful search/replace tool over a DITA hierarchy, but it can only do one search at a time, and I would have hundreds to do in my conversion process...
Perhaps there is another way using refactoring or XSLT methods...
Basically I would like to convert
into
for hundreds of terms, over all my DITA map hierarchy.
Thanks for the help!
David
Is there a way to make batch search and replace actions, based on a txt or other input file, on a complete DITA map hierarchy? I already found the powerful search/replace tool over a DITA hierarchy, but it can only do one search at a time, and I would have hundreds to do in my conversion process...
Perhaps there is another way using refactoring or XSLT methods...
Basically I would like to convert
Code: Select all
<term id="PLEM">PLEM</term>
<term id="FLET">FLET</term>
<term id="PLET">PLET</term>
...
Code: Select all
<abbreviated-form keyref="PLEM"/>
<abbreviated-form keyref="FLET"/>
<abbreviated-form keyref="PLET"/>
...
Thanks for the help!
David