XML Tags validation in iHRIS

Asked by Juma Lungo on 2013-04-26

iHRIS is an XML driven software. Since the developers in Malawi are editing/localising these XML files by using text editor like nano and gedit. Is there a tool or a command within iHRIS that can be used to validate the XML file? This is because all invalid xml files cannot be loaded/enabled in iHRIS.

Question information

Language:
English Edit question
Status:
Solved
For:
ihris-manage-malawi Edit question
Assignee:
cenk Edit question
Solved by:
Juma Lungo
Solved:
2013-04-26
Last query:
2013-04-26
Last reply:
Juma Lungo (jlungo) said : #1

The iHRIS's xml validation tool is available here: /var/lib/iHRIS/lib/4.1.6/I2CE/tools/check_validity.php

This tool can be used as follows:
first, cd to where your FILENAME.xml is located, then
/var/lib/iHRIS/lib/4.1.6/I2CE/tools/check_validity.php FILENAME.xml