Also keep in mind that it's very easy to rename .html file to .xhtml (even in bulk) from within Sigil's book Browser. Just in case that's the primary function of your plugin.
For bulk renaming, highlight multiple files in the Book Browser, then right-click to find the Rename action and enter ".xhtml" (without the quotes) in the dialog to change all the highlighted files' extensions to .xhtml
|