This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: basic question about xpath support of xml schema
- From: David Carlisle <davidc at nag dot co dot uk>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Fri, 1 Feb 2002 09:37:09 GMT
- Subject: Re: [xsl] basic question about xpath support of xml schema
- References: <001b01c1aab3$883754c0$78fe0250@pcukmka>
- Reply-to: xsl-list at lists dot mulberrytech dot com
> What's likely to appear is some kind of
> <xsl:import-schema> declaration to associate one or more schemas with a
> stylesheet.
I think that it would be a real mistake to tie XSLT (or Xpath) too
closely to W3C Schema. The datatypes are aligned and that's fair enough,
but it is clear that there will be several possibilities for defining
structure in XML: DTD, W3C Schema, RELAXNG, schematron, ...
XSLT should, as far as possible, be able to work with any of these
systems.
(In particular if the input to XSLT is a tree annotated with type
information according to teh data model it shouldn't matter how that
type information was specified, XPath shouldn't assume it came from a
W3C Schema.
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