Changes between Version 4 and Version 5 of XsltTemplates


Ignore:
Timestamp:
01/24/10 01:09:48 (12 years ago)
Author:
Gavin Treadgold
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • XsltTemplates

    v4 v5  
    66== Sahana XSLT Information ==
    77Sahana XSLT/XPath capability is provided by [http://codespeak.net/lxml/ lxml]. Currently Sahana only supports XSLT/XPath 1.0.
     8
     9== Sahana XML Representation ==
     10Here is a simplified blank XML document that highlights the key elements providing in the native XML within SahanaPy.
     11{{{
     12<sahanapy>
     13  <resource name="" uuid="" created_on="" modified_on="" url="">
     14    <data field=""></data>
     15    <reference field="" resource="" uuid=""></reference>
     16</sahanapy>
     17}}}
     18 * {{{<resource>}}} - identifies the type of resource where name="hms_hospital"
     19 * {{{<data>}}} - represents a data field from the model e.g. if a resource is hms_hospital, then the data fields provided will be defined in {{{models/hms.py}}} - look for the resource definition for hospital
     20 * {{{<reference>}}} - contains information about things such as location e.g. {{{field="location_id" resource="gis_location"}}}
    821
    922== Exporting Data from Sahana ==
     
    1831 * [http://www.w3schools.com/xsl/default.asp XSLT Tutorial] on w3schools
    1932 * [http://www.w3schools.com/xpath/default.asp XPath Tutorial] on w3schools
    20