1 | In general, XSL first specifies how to process the source tree to get a result tree. |
2 | The pattern of a template rule is matched with the source tree and replaces it with the template. |
3 | The result tree is then processed with formatting to achieve a document suitable for display, printing, speech or other media. |
4 | XSL and XML may have their own namespaces for rules. |