Changes between Version 132 and Version 133 of DeveloperGuidelines/Tips
- Timestamp:
- 05/30/14 10:15:12 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/Tips
v132 v133 223 223 == XSLT: XML, XSL, XPath == 224 224 225 We use XSLT (Extensible Stylesheet Language Transformations) to convert external structured data, such as 226 CSV files, spreadsheets, GIS data, and CAP messages into internal S3XML format, and from there to create Eden database entries, 227 and also to export Eden data into external data formats. 225 We use XSLT (Extensible Stylesheet Language Transformations) to import external structured data, such as 226 CSV files, spreadsheets, GIS data, and CAP messages into Eden, and also to export Eden data into external data formats. 228 227 229 228 XSL Stylesheets are themselves XML documents that specify a conversion between one data format and another. 230 XPath (XML Path Language) is used to select elements from the source document to act on. 231 232 The stylesheets for various data formats are found in the directory: [https://github.com/flavour/eden/blob/master/static/formats eden/static/formats] 229 XPath (XML Path Language) is used to select elements from the source document to act on. Our stylesheets 230 convert between the internal [wiki:S3XRC/S3XML S3XML] format and the desired external format. 231 232 Stylesheets for various data formats are found in the directory: 233 [https://github.com/flavour/eden/blob/master/static/formats eden/static/formats] 233 234 234 235 Support for XSLT is provided by [http://lxml.de/ lxml], which is a Python wrapper for libxml2 and libxslt. … … 236 237 so be aware of this when you are consulting XML / XSLT references. 237 238 239 === Eden documentation === 240 241 * [wiki:S3XRC/S3XML S3XML] 242 * [wiki:XsltTemplates XsltTemplates] 238 243 === Online references === 239 244