Thanks, that worked a treat.
We're currently implementing quie a large solution based upon xowiki with integration into different openacs packages. There may be some code we can commit to CVS along the way.
I'll keep you posted and I may be back with some more questions!