I want to read a pre tag with xml. I am working client side. I have tried everything. The <title> tag gets lost with innerHTML(ok in FF only). I tried traversing the dom and putting in the tag names but the title tag is ignored. I am trying to syntax highlight this. Everything works if I do not use certain html tags. How do I get raw text from the pre? The text would come from one of two sources, a server or inputted into a textarea by the user. It is dynamically placed in the div tag and then processed.
<title>Fight for your mind</title>