Pyana Examples
Pyana Links
Pyana @ SourceForge
- Documentation, Examples, etc.
Pyana Project Page
- CVS repository, Patch Manager, etc.
Examples
These examples are ordered by increasing complexity:
helloworld.py
- The usual example.
top_level_arguments.py
- Demonstrates how to pass top-level XSLT arguments to Pyana.
input_example.py
- Demonstrates various ways of providing XML and XSL input.
measure_compressability.py
- Demonstrates how to direct output to a writer object.
simple_callbacks.py
- Demonstrates how to extend XPath with simple Python functions.
transformer_example.py
- Demonstrates the use of the new Transformer object.
zip_resolver_example.py
- Demonstrates how to override the resolution of external entities.
check_links.py
- Brings it all together in a somewhat useful example.