2 Replies Latest reply on Jan 31, 2008 11:41 AM by Tom Fennelly

    XML to CSV Smook Transformation...

    Vineet Sahni Newbie

      Hi All,
      I have a requirement to convert an XML to a CSV file through Smooks.
      It appears that the syntax used below does not convert message from XML to CSV. What I see is an untouched output of message prior to running th conversion. Belo from indicates an xml context and to indicates the csv I would like to convert to reading elements from XML.

      Can someone help on this?

      Thanks a lot.

      <resource-config target-profile="from-type:text/xml:smooks-geneva-order-xml AND to-type:text/csv:geneva-canonical-order-xml" selector= "csv-set">
       <resource type="xsl">
       <xsl:for-each select="csv-record">
       <xsl:value-of select="custodian"/>,
       <xsl:value-of select="OTCListed"/>,
       <xsl:value-of select="productType"/>
       <param name="is-xslt-templatelet">true</param>