
Originally Posted by
avp12
So, can that part of code - i.e "cacheTemplates()" be moved after createDomNode call and before doTransform()?
I don't think so because then you would be unable to cache the template! Performance would really suffer if you did this with XSLT I think (although I don't have any benchmarks to back that up).
What you need to do is specify a different view in your controller rather than a stylesheet location in your createDomNode. That method should really only be used to domify your model, not configure the view itself. createDomNode will have no additional privileged information than your controller so there should be no difficulty in doing this.
Regards,
Darren Davison.
Public Key: 0xE855B3EA