benetech / Miradi-Online

Miradi Online - main Rails repo.
7 stars 1 forks source link

Support custom project views via XSL templates #25

Open gcapiel opened 12 years ago

gcapiel commented 12 years ago

We should support applying viewing XML project files based on an pre-uploaded XSL template. We will need a way to upload and manage XSL templates (CRUD). You can find sample XSL templates at:

https://github.com/benetech/Miradi-Online/tree/master/Sample%20XSL%20Reports

To manually see a project XML file based on an XSL template (e.g. progressreport.xsl) in your browser, simply add the second line, which points to the xsl template, below the existing first line:

<?xml version="1.0" encoding="UTF-8" ?> <?xml-stylesheet type="text/xsl" href="progressreport.xsl" media="screen" ?>