Hi All,
i have one xml in below format
<ShipmentBO> <shipmentID>4407</shipmentID> <transMode>3</transMode> <carrierID>203976</carrierID> <createdTS>407</createdTS> <createdBY>2008-10-21 20:34:42.0</createdBY> <distance>2088</distance> <controllingOrgID>2780</controllingOrgID> <statusID>9</statusID> <shipHasStopes>0</shipHasStopes> <branchID>2882</branchID> <bookedBY>409</bookedBY> </ShipmentBO>
<ShipmentData shipmentID=4407 transMode=3 carrierID=203976 createdTS=407 createdBY=2008-10-21 20:34:42.0 distance=2088 controllingOrgID=2780 statusID=9 shipHasStopes=0 branchID=2882 bookedBY=409 > </ShipmentData>
<?xml version="1.0"?> <smooks-resource-list xmlns="http://www.milyn.org/xsd/smooks-1.0.xsd" default-target-profile="from:source-java"> <resource-config selector="ShipmentBO"> <resource type="xsl"> <![CDATA[ <ShipmentData shipmentID="{shipmentID}" transMode="{transMode}" carrierID="{carrierID}" createdTS="{createdBY}" createdBY="{createdTS}" distance="{distance}" controllingOrgID="{controllingOrgID}" statusID="{statusID}" shipHasStopes="{shipHasStopes}" branchID="{branchID}" bookedBY="{bookedBY}" > </ShipmentData> ]]> </resource> <param name="is-xslt-templatelet">true</param> </resource-config> </smooks-resource-list>
Hi All,
i found the solution. it worked when i removed
default-target-profile="from:source-java"