I want to send them in "action" attribute it self.
What do you mean by "them" and "action"?
Mind, this should be tested first if it works like I think it is
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com