# HG changeset patch # User František Kučera # Date 1376828834 -7200 # Node ID 1824c3cf6ba62c2627cea572b525dffabeeff6d7 # Parent 18a7b139e3fdf8fbae4a70bf958c9e48833a3742 data: Schematron diff -r 18a7b139e3fd -r 1824c3cf6ba6 data/dictionary.xml --- a/data/dictionary.xml Sat Aug 17 19:54:42 2013 +0200 +++ b/data/dictionary.xml Sun Aug 18 14:27:14 2013 +0200 @@ -1381,9 +1381,35 @@ xml + + + + a validation language; + can describe formats based on XML like XSD or DTD does, but has entirely different approach; + Schematron is rule-based – defines assertions which must be met to have valid document; + this rules are transformed into XSL template which is executed during validation; + Schematron can be also combined with XSD + – XSD schemas (which are more declarative and more clearly represents the desired structure of the document for humans) + are enriched with Schematron assertions that adds more complex rules (that cannot be easily expressed in pure XSD) + + + computer + xml + + - + + + a transformation language for XML; + can be used e.g. for + conversion from one XML format to another one, + for generating (plain) text or HTML, + for user friendly visualisation of XML data (XHTML or SVG output), + or for validations (raise error message on invalid input, see also Schematron); + XSL templates are also written in XML + + computer xml