I'm sorry if I wasn't clear about how I would use this function. I just want to regularize text filenames to account for .xml, .html, .htm and .xhtml file extensions.
I called them text files because the default location for xhtml files in a Sigil-normed epub is relative to ../Text/. I figure if Sigil puts a file in that section it is fair game to change the extension to .xhtml.
I think there was a post from Diap a while back in which he said, if I recall correctly, that the thing he does when first editing an epub is to rename files to .xhtml to reflect that they are in actuality, xhtml files.
|