renaming certain <b> elements with <uicontrol>
Posted: Mon Apr 30, 2018 6:21 pm
Hello,
After migrating to DITA, all strong formatting was transposed as a <b> element. Some of these are ok to remain as <b>, but some of this content should be refactored as <uicontrol>. What would be the quickest way to search through the content, and easily refactor <b> elements as <uicontrol> where desired?
The quickest method I've found is to use the xpath "//b[1]" to find all bold elements, and then manually change the tags to <uicontrol> where needed. I was just wondering if there was a quicker way anyone could think of?
After migrating to DITA, all strong formatting was transposed as a <b> element. Some of these are ok to remain as <b>, but some of this content should be refactored as <uicontrol>. What would be the quickest way to search through the content, and easily refactor <b> elements as <uicontrol> where desired?
The quickest method I've found is to use the xpath "//b[1]" to find all bold elements, and then manually change the tags to <uicontrol> where needed. I was just wondering if there was a quicker way anyone could think of?