To set up the Grammar Validator, do the following:
- Start IBM® Rational® Application
Developer.
- Create a simple project.
- Create a folder to contain the XML files, and copy your XML files to this
folder.
- Click .
- In the dialog box that pops up, select in the left panel.
- In the right panel, the Schematron (SCH) files path are
set automatically.
- Click OK.
- Right-click the XML file, and select Validate.
- The error will be shown in the editor if there are any.