| [sfXSLTViewPlugin] First release [message #34809] |
Mon, 03 September 2007 11:04  |
johnwards Messages: 52 Registered: August 2007 Location: Oxford |
Member |
|
|
Well hello...
Right my first go at a symfony plugin.
http://trac.symfony-project.com/trac/wiki/sfXSLTViewPlugin
This provides XSL templates for symfony.
The parent node on the XML is called "XML"
If you have this plugin installed it will use the XML method it provides to turn Propel models to XML otherwise it uses the toArray method on your propel model. It wraps all string data in CDATA tags, it tests to see if a string is numeric first however.
As part of the plugin another class called sfArray2XML which does exactly what is says on the tin.
Well have a play and please give me feedback.
|
|
|