About the snippets.xml File

The snippets.xml file lists the snippets in a single category. You need a snippets.xml file for every snippet category that you create.
Because the Simple Repository contains only one category, all the snippet-related files are stored in the sgplot directory.
sgplot Folder in the Simple Repository
Double-click the snippets.xml file to open it in the workspace. You should see this code in the workspace:
<?xml version="1.0" encoding="UTF-8"?>
1<Snippets>

   2<Snippet>
      <Name label="Needle Plot"/>
      <Template uri="./needle.sas"/>
   </Snippet>

</Snippets>
1 Use the Snippets element to group all snippets into a single category. This element must contain one or more Snippet elements.
2 Use the Snippet element to define each snippet in the category. Both the Name and Template elements are required. The Name element specifies the name of the snippet using the required label attribute. The Template element specifies the location of the SAS file using the required uri attribute. The location of the SAS file can be relative or absolute.
In the simple repository, the needle.sas file is saved with the snippets.xml file in the sgplot directory.