Not me Jim I think we hould also add these two.

RemoveXMLElement()
RemoveXMLattr()

I have tryed the second one. Coudnt afford using optional arg Jim .


Code:
  

Function RemoveXMLattr($xml, $Path, $attr, optional $id)

Dim $SelectionTag,$AttrTag,$erase

$SelectionTag = $xml.getElementsByTagName($Path)

If $id=""
$id=0
EndIf

$AttrTag = $SelectionTag.item($id)

$erase = $AttrTag.removeAttribute($attr)

EndFunction



Posting sample.
_________________________
Life is fine.