Sed functionality

I have a few xml files and I want to input say 5 parameters within each file. is it possible to do so with sed?

<parameter>A</parameter>

<parameter>B</parameter>

          ....
          ....

And so on.

These parameters are meant to go in just inside:
<?xml version="1.0" encoding="utf-8"?>
<config xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance">

of each file? Any ideas?

There are a variety of ways to do this.... sed, awk, "standard" Unix commands....

Exactly where do you want to insert your Parameter blocks in your file? Always after the <?xml and <config lines? i.e. line 3 onwards?

Cheers
ZB

Just after:
<?xml version="1.0" encoding="utf-8"?>
<config xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance">

Awk or sed, it doesn't really matter. Newbie here