For a migration project, I receive the entire page data as a string. This string is parsed in the setInnerHTML() function. Based on the switch of the location a
setInnerHTML()