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 and will be the context node for the template when it is created. Select the node for which you wish to create the template. In the screenshot above the strings node is selected as the node for which the template is being created.
4.Click OK to finish.
An empty template for the selected node will be created (in the screenshot below, an empty template for the strings node has been created).