Skip to content

Files

Latest commit

5863f6d · Oct 8, 2018

History

History
21 lines (14 loc) · 952 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 952 Bytes

Build Status

TEI-Conditor

This repository contains the XSL stylesheets for transforming XML files from different sources to a TEI file. These files are located in the folder src/source distributed in a folder for each sourced data (src/source/pubmed, src/source/hal, src/source/wos ...).

Validation tests

This repository also contains xpath validation tests used by the Conditor processing chain. The validation tests will test each of the stylesheets in the data source directories (ex: src/source/pubmed/stylesheet.xsl) on the corresponding datasets in the test/dataset directory (ex: test/dataset/pubmed/file-123456.xml).

Install

npm install

Usage

npm test

Travis has been integrated and runs validation tests with each commit : https://travis-ci.org/conditor-project/tei-conditor