The Enclose with | Template command encloses the selected design component or text with a template for the schema tree node you select. Do this as follows.
|1.||Select the design component or text you wish to enclose with a template.|
|2.||Click the Enclose with | Template command. This pops up the Schema Selector dialog (screenshot below).|
|3.||The XPath Context field contains the context node of the selection and will be the context node of the template when it is created. Select the node for which you wish to create the template. In the screenshot above the n1:Name node is selected as the node for which the template is being created.|
|4.||Click OK to finish.|
A template for the selected node will be created around the selection.
© 2019 Altova GmbH