I have written a Javascript function that will parse the updated HTML code attached to a received SSE event into DOM elements and replace all elements that match the XPath given in the received event against the DOM elements specified in the received SSE event.
I will now work on sharing the SSE connection accross multiple browser tabs.