Sorry not clear, I understood why it didn't work and when I take out the code ref. it works fine. I was wondering if anyone had tried a way to store code in XML! I don't wont to waste lots of time if I'm never going to get anywhere.
UPDATE. Thanks for the second line I'll give it a try.