This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: basic question about xpath support of xml schema


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]