Re: [xsl] [XSLT 2.0] Checking that an element's value has the desired datatype?

Subject: Re: [xsl] [XSLT 2.0] Checking that an element's value has the desired datatype?
From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx>
Date: Tue, 17 Oct 2006 12:25:10 +0100
On 10/17/06, Costello, Roger L. <costello@xxxxxxxxx> wrote:
Schematron + xPath 2.0 is extremely powerful.  In fact, one could argue
that it can do everything that XML Schema (or RelaxNG) can do, plus a
lot more.

For example, below is an XML document showing information about an
aircraft and vertical obstructions on its flight path.  One critical
operational constraint is:

"Check that the aircraft's altitude is at least 500 feet above all the
vertical obstructions"

If you are using XML and a validation tool to work out if there is an obstruction in the way of an aircraft then you might find the aircraft has hit it before the result has been returned...

Current Thread