History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: FC-641
Type: New Feature New Feature
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: David Whiterod
Votes: 0
Watchers: 0
Operations

Go to Planning board
Go to Task board
If you were logged in you would be able to see more operations.
FarCry Core Framework

XML Exports can take (optional) XSLT file [code included]

Created: 29/Sep/06 04:19 AM   Updated: 11/Aug/08 01:53 PM
Component/s: Core Types
Affects Version/s: 3.0.2
Fix Version/s: 5.1.1

Time Tracking:
Not Specified

File Attachments: 1. Zip Archive xslt_modified_farcry_core_files.zip (24 kb)



 Description  « Hide
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/)

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
David Whiterod - 29/Sep/06 04:20 AM
Modified (and new) core files that allow XSL transformations to be applied to XML feeds