Template
The Template command inserts, at the cursor insertion point, an empty template for the schema tree node you select. Insert a template as follows.
1.Place the cursor in the design at the location where the template is to be inserted.
2.Click the Insert | Template command. This pops up the Insert Template dialog (screenshot below).
3.The XPath Context field contains the context node of the cursor insertion point. This node will be the context node of the template when it is created. In the dialog, select the node for which you want to create the template. In the screenshot above the headline node is selected. So we will be creating a template for the headline node in the context of the newsitem element.
4.Click OK to finish.
An empty template for the selected node will be created. In the screenshot below, an empty template for the headline node has been created.