W3C home > Mailing lists > Public > xmlschema-dev@w3.org > March 2001

Re: webMethods' XML Schema for XSLT 1.0

From: Eric van der Vlist <vdv@dyomedea.com>
Date: Fri, 30 Mar 2001 10:14:09 +0200
Message-ID: <3AC44051.DBF0B5E4@dyomedea.com>
To: xmlschema-dev@w3.org
Asir S Vedamuthu wrote:
> webMethods is pleased to announce the availability of an experimental
> version of XML Schema for XSLT 1.0 More information on XSLT can be found at
> http://www.w3.org/TR/xslt

Impressive work!

I have a question about one of the ways you are suggesting to
pre-validate the target documents, though.

<quote source="comments from the schema">
There are three ways that you can construct a schema for XSLT
stylesheets that create instances of a particular result structure
(a) Declare all your result elements as a member of xsl:result-element
substitution group

The substitution group is defined as:

  <element name="result-element" abstract="true"/>

and used in a group:

  <group name="result-element">
      <element ref="xsl:result-element"/>
      <any namespace="##other" processContents="skip"/>

that is referenced when needed.

I have probably missed something, but won't the choice become ambiguous
if I include elements from any namespace other than the target namespace
(i.e. XSLT 1.0) that would also match "any" element ?


See you in San Jose for SD West:
Eric van der Vlist       Dyomedea                    http://dyomedea.com
http://xmlfr.org         http://4xt.org           http://examplotron.org
Received on Friday, 30 March 2001 03:20:21 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:51 UTC