Need help for xslt transformation using Shell script

Hi

I have one input xml file

<param name="EXTR_COL" valueDesc="AUTHD_RFLL" value="rx.AUTHD_RFLL" />

There is a mapping parameters in Database.

if EXTR_COL is present in input XML then it is mapped to fieldlist.

so the o/p XML looks like

     <fieldlist>
    <datasource name="Oracle database" value="">
      <schemaname value="schema">
        <table value="tablename" dbobjtype="table">
          <field value="AUTHD_RFLL" calcid="0" dbobjtype="field" datatype="varchar2" datasize="9" precision="0" not_null="true">

I want to know how we can do this transformation.

The 'o/p XML" you showed us is neither valid or well-formed. Without seeing a valid and well-formed XML document, we cannot help you with a transformation stylesheet.