can we send data from two publisher

hi,
i am having doubt that can we use two publisher to send data to a subscriber example: in one publisher i have a variable say A whose value is 10
in other publisher other variable say B whose value is 20 now when i send to subscriber it should return me 30 though i am use it i am not getting idea so please let me know as i am not that much good at this concept

If I understand your question correctly, you can do that provided both the publishers are publishing different canonical document. You have to use the Join functionality while creating Trigger condition. Refer Trigger concept.

-Senthil