Of course I have. However this is completely irrelevant to the question. The HTML fragments that I have in mind have no need of either "name" or "id" attributes. Of course someone else with the same general question but different specifics may require them which is why configurability is one of the criteria.
in reply to Re^2: Dynamically cleaning up HTML fragments
in thread Dynamically cleaning up HTML fragments