Test of xmp DOM and rendering

Testcase:

testing... <b>sometext</b> &lt;b&gt;sometext&lt;/b&gt; A & B, A &amp; B, A &amp;amp; B

Output:

The output above should read (according to IE and Firefox’s implementation):


	testing...
	
	<b>sometext</b>
	
	&lt;b&gt;sometext&lt;/b&gt;
	
	A & B, A &amp; B, A &amp;amp; B

And just for the record, so should the rendered text (but for the case where I ran into this, only the DOM was important and the element was removed from the document afterwards).