will u suggest me how to delete child from node. i have a xml file .
There are four subnodes in the Contact element i have to delete
subnodes value from file
thank in advance
> will u suggest me how to delete child from node. [...]
If you want to address only "u", send e-mail to "u", do not post to this
public newsgroup. Maybe he/she will also take time to understand some of
your statements as question, and some as statements.
PointedEars
> will u suggest me how to delete child from node.
PLEASE write entire words. Phonetic abbreviations are significantly
harder to read for non-native English speakers.
> i have a xml file . There are four subnodes in the Contact element
> i have to delete subnodes value from file
I can't tell you how to delete something in the file without knowing
what file operations you can perform and how. Since you are posting in
a Javascript group, I am guessing that you want to use W3C DOM for
manipulating the XML. If you read the file into a DOM structure, you
can remove a child node from another node by using the (unsurpricingly
named) "removeChild" method, i.e.:
parentNode.removeChild(childNode);
You will then have to write the DOM to a file again.
/L

Signature
Lasse Reichstein Nielsen - lrn@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'