OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Schematron validation based on the contents of another file!

[ Lists Home | Date Index | Thread Index ]
  • From: Miloslav Nic <nicmila@vscht.cz>
  • To: xsl-list <xsl-list@mulberrytech.com>, xml-dev@ic.ac.uk
  • Date: Wed, 03 Nov 1999 14:20:36 +0100

I have added two more examples to Schematron tutorial at:
http://zvon.vscht.cz/HTMLonly/SchematronTutorial/General/contents.html

I have just realized, that Schematron engines  based on XSLT can use
XSLT function: document() to perform this type of validation.

Example 18
A paragraph in XML 2 can only start with words specified in XML 1 (file
source1.xml)

Example 17
XML 1 (file source1.xml) contains a list of authors. These authors are
referred to in XML 2. The Schematron checks if for each referred author
in XML 2 exists an entry in XML 1.
-- 
***************************************************************
Dr. Miloslav Nic                        e-mail: nicmila@vscht.cz
Department of Organic Chemistry         TEL: +420 2 2435 5012  
ICT Prague (VSCHT Praha)                     +420 2 2435 4118
    				        FAX: +420 2 2435 4288  
****************************************************************
Support free information exchange: http://zvon.vscht.cz
****************************************************************

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS