The
final step is to validate the generated define.xml file. As discussed
in Chapter 9, “XML-Based
Standards,” in the
SAS Clinical Standards Toolkit:
User's Guide, the SAS Clinical Standards
Toolkit offers two complementary validation methodologies.
-
The first methodology relies on
the definition of a master set of validation checks as described in
the previous example. This method uses SAS files and SAS code to validate
the SAS representation of the standard. Example checks include the
assessment of foreign key relationships across data sets and value
conformance to a set of expected values.
-
The second methodology involves
verification that the XML file is valid structurally and syntactically
according to the XML schema.
The final task in the
sample create_crtdds_define.sas driver is to call the cstutilxmlvalidate
macro to perform the schema validation.
The Results data set
provides process information and the location of the generated define.xml
file. The Results data set confirms that no problems were found with
the file after validation of the file.
Note: The SAS validation of file
content was not run in this example.