What are the parts in which template gets defined? - XSL
What are the parts in which template gets defined?
- Templates are the combination of applications and the overall architecture made using the stylesheet.
- It basically consists of two parts and they are as follows:
- The patterns are checked against another pattern for the matching and if it is matched then the result gets displayed.
- The matches are performed against the nodes using the source tree that is different from other part of trees.
- The template can be instantiated to form the part of the result tree that is different from the source tree as well.
- The stylesheets are allowed to provide the documents used by XML and display it using the browser.