开发者

XmlNodes stripping out HTML

Got some html with javascript in, the javascript creates an MSXml2 object and loads开发者_Go百科 some XML from a file, and populates a span. However the HTML that's within the XML is being stripped. Is there a way to stop it from doing this?

(pseudocode) I've tried various combinations of mySpan = blah.GetNode("mynode").text , .value, .innerxml etc. but nothing is working yet.


Typically, as soon as I post it on here my 2 hours of googling pays off, and I discover its simply (psudocode) getNode("mynode").xml !

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜