RE: [xsl] basic question about xpath support of xml schema

Subject: RE: [xsl] basic question about xpath support of xml schema
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Fri, 1 Feb 2002 00:00:53 -0000
> was just wondering, have been skimming through the xml path
> language 2.0 wd
> and haven't found exactly where it's described how the
> processors knows what
> schema it should work with.

That's an excellent question, and the reason you haven't found it is that
it's not really there. The XPath spec says that a set of named type
definitions must be made available by the host language as part of the
static context. The XSLT spec has an open issue as to how this part of the
context should be populated. What's likely to appear is some kind of
<xsl:import-schema> declaration to associate one or more schemas with a
stylesheet. For an indication of how this might work, see the "import
schema" clause in the XQuery prolog.

Generally, there's a lot of work to be done on the precise definition of
operations that refer to types.

Mike Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread