I want to integrate XSL into my applications. Obviously it's simple enough as far as writing the XSL into my view files which is how I'd prefer it. It's at this point, though, that I get stuck. I'd like to add an additional directory structure to my view folders:
/view .../posts .../.../index.ctp (XSL in this file) .../.../.../xml .../.../.../.../index.ctp (XML in this file) Now...I can find some way to link up my XSL to the XML (although admittedly I spent several hours looking last night and could not figure it out...but I did have a headache). I suppose also I could just leave out the XML file and use the controller to actually put together and XML string although I'd prefer not to. I would rather have the XML file be a php script that outputs the XML. and just keep the controller as the data collector. Perhaps I can add a model function that takes the data and uses the Library/Component as a translator. Or maybe call the Library/Component from the view file (XSL). Should I use a Library or Component? I apologize if all of this sounds confusing as I'm trying to work out in my head the best way to go about doing this and not having to continuously retype code in additional controllers. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
