Code included
I have a modification to the dmXMLExport type that accepts an XSL/XSLT file that can be use used to create custom XML exports.
The zip contains:
1. A modified version (and modified plpSteps for) the dmXMLExport core type. (adding the property 'transformFile' and some utility functions: listTransformations; makeRFC822DateString; makeISO8601DateString).
[The generate function now uses the max items field and uses getMultipleByQuery instead of getMultiple to get around the known issue with getMultiple returning structs with randomised sort orders]
2. A modified version of navajo/listTemplates that is used to locate the xslt files. This process looks both in the core (admin/xmltransformations) and the project folder (project/system/dmXMLExport) for *.xsl* files (allowing any required XML format to be exported).
[A regex-based method to extract @@displaynames from non-CF comments would be helpful here. It would allow displaynames (within XML comments) to be shown for the XSLT files - currently they rely upon the filename only.]
3. Core XSLT files that create Atom (v1) and RSS (v2) feeds (these produce feeds that validate at:
http://validator.w3.org/feed/)