|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Schematron validation based on the contents of another file!
Wow, that is a great find. I think it allows us to have external controlled vocabularies, but ones where we don't care on the DTD that that vocabulary is stored in: by having smarter links (i.e, Xpaths) we can locate particular fields in the remote document regardless of the element names used. Rick Jelliffe -----Original Message----- From: Miloslav Nic <nicmila@v...> To: xsl-list <xsl-list@m...>; xml-dev@i... <xml-dev@i...> Date: Wednesday, 3 November 1999 21:51 Subject: Schematron validation based on the contents of another file! >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@v... >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@i... >Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1 >To unsubscribe, mailto:majordomo@i... the following message; >unsubscribe xml-dev >To subscribe to the digests, mailto:majordomo@i... the following message; >subscribe xml-dev-digest >List coordinator, Henry Rzepa (mailto:rzepa@i...) > xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1 To unsubscribe, mailto:majordomo@i... the following message; unsubscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








