2 points
HTML / CSS in XML, XUL anywhere.
Last update
Jul 30, 2009
XML page:
http://api.erepublik.com/v1/feeds/countriesSo.. to do that you need to add HTML (xhtml) nodes.
var xhtml = "http://www.w3.org/1999/xhtml";
var div = document.createElementNS(xhtml,"div");
div.setAttribute("style","border:1px solid red");
someXMLnode.appendChild(div);
Tada!!... you new node "div" is a html node, and support anything other html nodes support, like links.
