This one is a bit of a tricky one. I have a contents.xml file that references a host of other files. These other files use to be .xml, and have been altered to .dita, my question is how can i renames all the .xml file extensions to .dita? The file paths are a varying levels in the tree and have an inconsistent number of subfolders in front of them.
Example:
<article
xmlns:xi="http://www.w3.org/2001/XInclude">
<title>Definition</title>
<xi:include href="./introduction.xml"/>
<section xml:id="viewComponents"><title>View Components</title>
<xi:include href="./components/page.xml"/>
<xi:include href="./views/sheet.xml"/>
<xi:include href="./folder/xsubfolders/plaque.xml"/>
</section>
</article>
To:
<article
xmlns:xi="http://www.w3.org/2001/XInclude">
<title>Definition</title>
<xi:include href="./introduction.dita"/>
<section xml:id="viewComponents"><title>View Components</title>
<xi:include href="./components/page.dita"/>
<xi:include href="./views/sheet.dita"/>
<xi:include href="./folder/xsubfolders/plaque.dita"/>
</section>
</article>