- 3. Template syntax
3.8. OPT attributes - 3.7.25. opt:tree
« Previous - 3.8.1. opt:attributes-build
Next »
3.8. OPT attributes
Table of Contents
- 3.8.1. opt:attributes-build
- 3.8.2. opt:attributes-ignore
- 3.8.3. opt:capture
- 3.8.4. opt:content
- 3.8.5. opt:dynamic
- 3.8.6. opt:if
- 3.8.7. opt:on
- 3.8.8. opt:section
- 3.8.9. opt:selector
- 3.8.10. opt:single
- 3.8.11. opt:use
We have already learned that the instructions may parse particular XML tags in our templates to perform some tasks. The same applies to tag attributes. The attributes that are parsed by the instructions can be recognized by their namespaces. By default, they are members of opt namespace, but custom instructions may register them in different ones. The attributes are also very powerful and are able to manipulate the tags they are assigned to. They can be used both with ordinary and instruction tags.
See also:
- 3.8. OPT attributes
3. Template syntax - « Previous
3.7.25. opt:tree - Next »
3.8.1. opt:attributes-build