About Template

There are four kind of Template in NUI.

NUI Template

Starts with a "n:"('n' indicate "NUI"), which defined by NUI and provides flow-controls or interaction with TemplateContext.

Property Template

Starts with a "p:"('p' indicate "Property"), which used to render some property relative content.

Common Template

Starts with a "c:"('c' indicate "Common"), which used to render user defined content. It can be considered as "function call" in program language.

XML Template

Without a namespace, which used to render as a XML Element. All attributes' values are evaluate as a OGNL expression.
Attribute would not be rendered to output if its value is null or empty string("").

Overviews