Hello

I have been trying to add entity reference node to an element
Can any body please guide me how to do that
My code is as follows

Attr attr = doc.createAttributeNS("http://www.w3.org/2000/svg";, "style");





 org.w3c.dom.EntityReference er = doc.createEntityReference("background");


attr.appendChild(attr);



elem.setAttributeNode(attr);


Is it not the correct way to attach entity reference node?


Rgds

Goldi

Reply via email to