I am running a batch file using msxsl to take an input xml file like below
<ns1:invoicedata>
<data1>1</data1>
<data2>2</data2>
</ns1:invoicedata>
I need to copy this original output and replace the values with the input file values
<ns2:invoiceoutput>
<data3>3</data3>
<data4>4</data4>
<data5>5</data5>
</ns2:invoiceoutput>
so that it ends up with the following data in it
<ns2:invoiceoutput>
<data3>1</data3>
<data4>2</data4>
<data5>5</data5>
</ns2:invoiceoutput>
I've tried template matching... value-of select= statements, choose, etc... but I can't
seem to get the desired output. Just started using xsl and it seems doable... anyone?
Thanks!