Skip to main content
U.S. flag

An official website of the United States government

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

Constraint Generator User's Guide



Salifou Sidi Malick, Matthew Molek, Katherine C. Morris


This document describes the Constraint Generator. The Constraint Generator is a tool developed at NIST to automate the generation of schematron scripts for an advance validation of XML documents. The tool allows the user to open an XSD schema, view a tree of the contents, and add constraints on the nodes by selecting them from the tree view. In this document we will describe the system requirements of the tool, then we will briefly describe how to use the tool and finally show an example of some of the tools output (script and report) based on a specific input schema. (Testbed_CG)
NIST Interagency/Internal Report (NISTIR) - 7728
Report Number


Business Rules, Schematron, XML validation, System Integration, Testbed_CG


Sidi, S. , Molek, M. and Morris, K. (2010), Constraint Generator User's Guide, NIST Interagency/Internal Report (NISTIR), National Institute of Standards and Technology, Gaithersburg, MD, [online], (Accessed April 14, 2024)
Created September 30, 2010, Updated February 19, 2017