[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: [XSLT 2.0] Checking that an element's value has th

Subject: RE: [XSLT 2.0] Checking that an element's value has the desired datatype?
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 17 Oct 2006 12:52:23 +0100
xslt validity checking
> As best I can tell, the functionality of Schematron + xPath 
> 2.0 is a superset of XML Schemas (and RelaxNG).

Yes, as far as testing validity is concerned, that's almost certainly true.
Any integrity constraint can be expressed as a query that returns true or
false. Remember however:

(a) a schema is more than a yes/no validity checking function

(b) some constraints are very convenient to express in the form of a
grammar, and these constraints are far less easy to express in terms of
XPath queries

(c) XML schema is carefully designed so that its constraints can be
evaluated in a single sequential pass through the document, without building
a tree.

Michael Kay
http://www.saxonica.com/ 

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.