&
.
simple/repository.xml
in the SAS
Studio workspace. This is the repository.xml file for the Simple Repository.
You should see this code:
<?xml version="1.0" encoding="UTF-8"?> 1<Repository label="Example SAS Studio Repository" version="1.0"> 2<Tasks> <Category label="Example Tasks"> <Location uri="./data/tasks.xml" /> </Category> </Tasks> 3<Snippets> <Category label="Example Snippets"> <Location uri="./sgplot/snippets.xml" /> </Category> </Snippets> </Repository>
1 | The
repository.xml file starts with the Repository element,
which contains the label and version attributes.
These attributes are required.
|
2 | Use
the Tasks element to group categories of
tasks. You must have at least one category. The category appears under
the name of the repository in the Tasks and Utilities section
of the navigation pane. Specify the name of the category by using
the label parameter.
Each
Category element
must contain a Location element. You specify
the location of the tasks.xml file (which defines the tasks in that
category) using the uri parameter. This path
can be relative or absolute.
|
3 | Use
the Snippets element to group categories
of snippets. You must have at least one category. The category appears
under the name of the repository in the Snippets section
of the navigation pane. Specify the name of the category by using
the label parameter.
Each
Category element
must contain one Location element. You specify
the location of the snippets.xml file (which defines the tasks in
that category) using the uri parameter. This
path can be relative or absolute.
|