What's the problem you are having? Is the XSLT generating any outbound records? Is it missing data. If you are going to ask for "urgent" help you need to be more specific 🙂
Depending on the inbound and outbound format you may or may not need a Looping Functoid, you may or may not have to connect the Script Functoid to anything; inbound or outbound.
Provide a sample of you inbound message format and outbound message format and I'll see what I can do.