{% extends "base.html" %} {% block page_title %}{% trans %}Packtools - Style Checker{% endtrans %}{% endblock %} {% block main_content %}

{% trans %}SciELO Style Checker{% endtrans %}

{% trans %}Use this tool to confirm whether an XML file conforms to SciELO Style as defined in the SciELO Publishing Schema Tagging Guidelines.{% endtrans %}

{% trans %}Browse to your local XML file and click "Validate". The results will be displayed below.{% endtrans %}

{{ form.csrf_token }}
{# FILE FIELD #} {% with field=form.file, field_error=form.errors.file %}
{{ field }} {# use of |attr doesnt work, 'cause bootstrap js plugin:filestyle create a new input #} {% trans %}Max. upload size{% endtrans %}: {{ g.SETTINGS_MAX_UPLOAD_SIZE|filesizeformat }} {# field errors #} {% for error in field_error %}
{{ error }}
{% endfor %}
{% endwith %}
  {% trans %} If you have any problems with the tool or with the SPS Tagging Guidelines, please contact: scielo-xml@googlegroups.com. {% endtrans %}
{% if results or xml_exception %}
{# annotations #} {% with xml_data=results %} {% include "validator/includes/xml_annotated.html" %} {% endwith %} {# /annotations #}
{% endif %} {% endblock main_content %} {% block extrafooter %} {% include "validator/includes/xml_upload_form_validation.html" %} {% include "validator/includes/script_xml_annotated.html" %} {% endblock extrafooter %}