I have a XML file that among other things has the following node.
As you can see it contains HTML tags.
I want to append content of "page" tag into my html document.
Expand|Select|Wrap|Line Numbers
- <?xml version=""1.0"" encoding=""utf-8"" ?>
- <root>
- <page>
- <div class='clk'>
- <a href='...'>1</a>
- <a href='...'>2</a>
- <a href='...'>3</a>
- <a href='...'>4</a>
- .
- .
- .
- </div>
- </page>
- </root>
XML "page" tag using the following line of code
var myHtml= xmlDoc.getElementsByTagName('paging')[0].innerHTML;
but in chrome and ie and other browser
do not work, resulting in myHTML being undefined.
Thanks for your help.