Looking at my code I think that defining my view component as nothing but the XSL transformation may be incorrect. I have a small number of generic controllers which are procedural, not OO, which may call other procedural functions as well as instantiating and communicating with objects in the business layer. The final step in every controller (when it needs to create XHTML output) is to call a procedural function buildXML() with a list of objects. This function pulls data out of the objects, constructs the XML document and finally performs the XSL transformation. If you regard this function to be part of the view then it (the view) does indeed pull data out of the object(s) before it pushes it to the XSL stylesheet.
Originally Posted by Selkirk
Last edited by Tony Marston; Nov 17, 2004 at 09:51.