Validating XML

From FiFormsWiki

Jump to: navigation, search

Since your FiForms applications are constructed entirely out of XML, it is a simple process to validate this XML against the provided XML Schema files. This is a quick and easy way to assure that your application syntax is not broken.

From the command line, browse to the location of your application. For example, suppose FiForms is installed in /home/user/FiForms, and you are working on an application called payroll:

export FIFORMS_PATH=/home/user/FiForms
cd /home/user/FiForms/apps/payroll
./validate.sh

This should give you a listing of each file as it is validated, and show any errors that occur.

Personal tools