| | 1 | = Sample Course Outline: Embedding and Extending LibXSLT = |
| | 2 | |
| | 3 | A detailed, hands-on technical introduction to embedding the LibXSLT XSLT processor in your own application and to implementing extension functions and elements for use with your embedded LibXSLT or as a plugin to xsltproc. |
| | 4 | |
| | 5 | This course suits organisations getting started with using LibXSLT in their application. |
| | 6 | |
| | 7 | By the end of the course, the participants will: |
| | 8 | |
| | 9 | * Understand how to use LibXSLT from within their program |
| | 10 | * Understand how to write extension functions for LibXSLT and `xsltproc` |
| | 11 | |
| | 12 | The course includes a number of exercises based on your documents. |
| | 13 | |
| | 14 | Duration: 1 day or 2 day, depending on requirements and time allocated for exercises |
| | 15 | |
| | 16 | == Embedding LibXSLT == |
| | 17 | |
| | 18 | * Use cases for embedding LibXSLT |
| | 19 | * Simple embedding |
| | 20 | * Reading input |
| | 21 | * Writing output |
| | 22 | * Working with XML result trees |
| | 23 | * Memory management |
| | 24 | * Handling error messages |
| | 25 | * Overriding document loading |
| | 26 | * LibXSLT security framework |
| | 27 | * Using EXSLT extensions |
| | 28 | |
| | 29 | == Extending LibXSLT == |
| | 30 | |
| | 31 | * Writing an extension function |
| | 32 | * Writing an extension element |
| | 33 | * Registering extensions |
| | 34 | * When are extensions initialised and finalised? |
| | 35 | * Maintaining state between function calls |
| | 36 | * Extensions as xsltproc plugins |
| | 37 | |