I don't think you would be able to do this using the confirmorder template. Hoever, you could create a new eventtype and run it as a part of a workflow when the order has been confirmed.
Yeah, Eirik is right - you will not be able to do this directly from the template, but a simple/short workflow even should take care of it. Just create a new event and make it do what you want (set the attribute, republish the thing, etc.). and insert it in the right place of the workflow chain. Good luck!
I hoped the problem could have been solved without the need of programming a workflow event (my knowledge in PHP programming is unsufficient to do that...). But if there is no other solution, I ask to Erik and Balazs (or someone other) if are available in the Documentation or in the Contribution some examples useful to my needs...
Thanks a lot again.
Paolo Mellerio - Clikka!com - http://www.clikka.com