xml の "abc.xml" 要素の値を変数 $value に格納されている値に変更したい
$value = 'abc';
<annotation>
<filename>img_000001016592.png</filename>
<folder>Rec_20121219_171905</folder>
<source>
<sourceImage>The MIT-CSAIL database of objects and scenes</sourceImage>
<sourceAnnotation>LabelMe Webtool</sourceAnnotation>
</source>
<imagesize>
<nrows>481</nrows>
<ncols>640</ncols>
</imagesize>
</annotation>
1 つの変数を持ち、変数の値を含むシェル スクリプトが必要です。次に、abc.xml の要素ファイル名の値を変数の値に変更します。