open file.xml ; if not(/path/to/elem) insert element elem into /path/to ; save :b ; [download]
In reply to Re: Simple modification of XML file by choroba in thread Simple modification of XML file by cls78628