Go to the source code of this file.
Namespaces | |
namespace | docbook |
Functions | |
validate_xml ($xml_content) | |
display_error_messages (&$xml_content, &$err_lines) | |
display a popup window with error messages | |
get_short_xml_line ($xml_line, $elem) | |
extract from the xml line a part around the error |
validate_xml | ( | $ | xml_content | ) |
Definition at line 30 of file validate.php.
References shell(), and write_tmp_file().
Referenced by edit_content::on_save().
display_error_messages | ( | &$ | xml_content, | |
&$ | err_lines | |||
) |
display a popup window with error messages
Definition at line 78 of file validate.php.
References get_short_xml_line(), and popup_window().
get_short_xml_line | ( | $ | xml_line, | |
$ | elem | |||
) |
extract from the xml line a part around the error
Definition at line 112 of file validate.php.
Referenced by display_error_messages().