Please guys, could you help me with an xsl transformation.
I have tried everything, but it doens't work.
The source xml: 

```
<ROWSET>
 <ROW>
  <ID>111</ID>
  <F_I>11</F_I>
  <NAME>sometext</NAME>
  <CODE>text</CODE>      
  <CARD_PRODUCTS>
   <CARD_PRODUCTS_ROW>
    <ID>111</ID>
    <F_I>11</F_I>
    <NAME>text</NAME>
    <CODE>text</CODE>        
   </CARD_PRODUCTS_ROW>
   <CARD_PRODUCTS_ROW>
    <ID>111</ID>
    <F_I>11</F_I>
    <NAME>text</NAME>
    <CODE>text</CODE>        
   </CARD_PRODUCTS_ROW>
   ...
  </CARD_PRODUCTS>
 </ROW>
</ROWSET>

```

It must be converted (1:1 scheme, just renamed elements) from:

```
<xs:element name="ROWSET" type="mule:ROWSET"/>
   <xs:complexType name="ROWSET">
      <xs:sequence>
         <xs:element name="ROW" type="mule:ROW" maxOccurs="unbounded"/>         
      </xs:sequence>
   </xs:complexType>
   <xs:complexType name="ROW">
      <xs:sequence>
         <xs:element name="ID" type="xs:string"/>
         <xs:element name="F_I" type="xs:string"/>
         <xs:element name="NAME" type="mule:string256"/>
         <xs:element name="CODE" type="mule:CODE"/>             
         <xs:element name="CARD_PRODUCTS" type="mule:CARD_PRODUCTS"/>
      </xs:sequence>
   </xs:complexType>
   <xs:complexType name="CARD_PRODUCTS">
      <xs:sequence>
         <xs:element name="CARD_PRODUCTS_ROW" type="mule:CARD_PRODUCTS_ROW" maxOccurs="unbounded"/>
      </xs:sequence>
   </xs:complexType>
   <xs:complexType name="CARD_PRODUCTS_ROW">
      <xs:sequence>
         <xs:element name="ID" type="xs:string"/>
         <xs:element name="F_I" type="xs:string"/>
         <xs:element name="NAME" type="mule:string256"/>
         <xs:element name="CODE" type="mule:CODE"/>             
      </xs:sequence>
   </xs:complexType>

```

to:

```
<xs:element name="SalaryProducts" type="sapr:SalaryProducts"/>
   <xs:complexType name="SalaryProducts">
      <xs:sequence>
         <xs:element name="SalaryProduct" type="sapr:SalaryProduct" maxOccurs="unbounded"/>         
      </xs:sequence>
   </xs:complexType>
   <xs:complexType name="SalaryProduct">
      <xs:sequence>
         <xs:element name="id" type="xs:string"/>
         <xs:element name="finInstId" type="xs:string"/>
         <xs:element name="name" type="sapr:string256"/>
         <xs:element name="productCode" type="sapr:productCode"/>
         <xs:element name="CardProducts" type="sapr:CardProducts"/>
      </xs:sequence>
   </xs:complexType>
   <xs:complexType name="CardProducts">
      <xs:sequence>
         <xs:element name="CardProduct" type="sapr:CardProduct" maxOccurs="unbounded"/>
      </xs:sequence>
   </xs:complexType>
   <xs:complexType name="CardProduct">
      <xs:sequence>
         <xs:element name="id" type="xs:string"/>
         <xs:element name="finInstId" type="xs:string"/>
         <xs:element name="name" type="sapr:string256"/>
         <xs:element name="productCode" type="sapr:productCode"/>             
      </xs:sequence>
   </xs:complexType>

```

XSLT:

```
<?xml version="1.0" encoding="UTF-8" ?>

   <xsl:template match="/">
      <tns:SalaryProducts>
         <xsl:for-each select="/ns0:ROWSET/ns0:ROW">
            <tns:SalaryProduct>
               <tns:id>
                  <xsl:value-of select="ns0:ID"/>
               </tns:id>
               <tns:finInstId>
                  <xsl:value-of select="ns0:F_I"/>
               </tns:finInstId>
               <tns:name>
                  <xsl:value-of select="ns0:NAME"/>
               </tns:name>
               <tns:productCode>
                  <xsl:value-of select="ns0:CODE"/>
               </tns:productCode>                   
               <tns:CardProducts>
                  <xsl:for-each select="/ns0:ROWSET/ns0:ROW/ns0:CARD_PRODUCTS/ns0:CARD_PRODUCTS_ROW">
                     <tns:CardProduct>
                        <tns:id>
                           <xsl:value-of select="ns0:ID"/>
                        </tns:id>
                        <tns:finInstId>
                           <xsl:value-of select="ns0:F_I"/>
                        </tns:finInstId>
                        <tns:name>
                           <xsl:value-of select="ns0:NAME"/>
                        </tns:name>
                        <tns:productCode>
                           <xsl:value-of select="ns0:CODE"/>
                        </tns:productCode>                            
                     </tns:CardProduct>
                  </xsl:for-each>
               </tns:CardProducts>
            </tns:SalaryProduct>
         </xsl:for-each>
      </tns:SalaryProducts>
   </xsl:template>
</xsl:stylesheet>

```

Looks like xslt is ok (in my opinion), but it just doesnt work. The only thing that JDeveloper says is: "Missing required child SalaryProduct inside of element tns:SalaryProducts".

Any help would be appreciated. Please help me. Thanks in advance!