supose you have XML document for the above mentioned node(record)
Node parent
Here is how the logical flow will work.
loop through all the elements
for each element
ele = nodeList[x]
loop through the attributes
if(element.getAttribute("name")
is equal to "empno"
parent.removeChild(ele);
Bookmarks