This Technical Report gives mechanisms for formally specifying the syntax of XML-based languages. For example, the syntax of XHMTL 1.0 can be specified in RELAX. Compared with DTDs, RELAX provides the following advantages: - Specification in RELAX uses XML instance (i.e., document) syntax; - RELAX provides rich datatypes, and - RELAX is namespace-aware.