Subject: Re: Schemas in XSLT 2.0 (Was: Re: keys and idrefs - XSLT2 request?)
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 16 Oct 2001 00:30:20 +0100
|
Perhaps it's just the Lisp programmer in me but the metacircularity
asthetic seems to me to suggest that one should be able to write an
XSLT transformation which can validate a document against a schema.
If one can't then the language is either insufficiently powerful or
has be fettered or crippled in some inappropriate way.
you probably could for the structural part of schema (cf schematron)
ie the "complex" types but you can't really support the "simple" datatypes
without extending XSLT as that requires (at least) regexp support,
date handling and other primitive operations that certainly you could in
theory code in XSLT but you don't really want to.
See Francis Norton's post earlier today (or rather yesterday now)
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- ANN: typeTagger v 0.1 (was: Re: Schemas in XSLT 2.0 (Was: Re: keys and idrefs - XSLT2 request?)), (continued)
- Francis Norton - Mon, 15 Oct 2001 13:23:05 -0400 (EDT)
- Michael Kay - Mon, 15 Oct 2001 11:18:40 -0400 (EDT)
- Jeni Tennison - Mon, 15 Oct 2001 13:53:30 -0400 (EDT)
- Mark Nahabedian - Mon, 15 Oct 2001 18:37:10 -0400 (EDT)
- David Carlisle - Mon, 15 Oct 2001 19:40:58 -0400 (EDT) <=
- Chris Bayes - Mon, 15 Oct 2001 20:14:27 -0400 (EDT)
- Jeni Tennison - Tue, 16 Oct 2001 06:48:40 -0400 (EDT)
- Michael Kay - Tue, 16 Oct 2001 08:28:25 -0400 (EDT)
- Colin Paul Adams - Wed, 10 Oct 2001 13:34:17 -0400 (EDT)
|
|