Is there any way to create or recreate a javascript document Object by calling a function. Something like
<script type="javascript/text">
var document = createDocument("some html");
</script>
I want to do this so I can solve the issue in this question client side xslt with javascript in firefox