Give details of validating document dating online site mariage
I've found Schematron to be the most promising of these.
Schematron, created by Rick Jelliffe, defines a set of rules and checks that are applied to an XML instance.
The XML Schema language is an XML application and will likely become the standard way XML schemas are formally declared.
However, we should take note of the REgular LAnguage description for XML (RELAX), an alternative XML schema language, developed by Murata Makoto, which has been submitted to the International Organization for Standardization (ISO) as a technical report. Until (and after) XML Schema is adopted as the standard for schema definitions, there are alternatives such as RELAX and Schematron.
Rule elements may contain assert and report elements.
Both elements are conditionally instantiated depending on the XPath evaluation of their test attribute.
Pattern elements allow the user to group schema constraints logically.
Some examples of logical groupings are: Text Only Elements, Valid Root Element, Check for ID Attribute. They may also have a attribute that refers to a URL for user documentation of the schema.
A Schematron XML document consist of a schema element in the Schematron namespace: The schema element contains one or more pattern elements.
The only difference is that assert elements are instantiated if the XPath expressions evaluates to false, while the report elements are instantiated if it evaluates to true.