Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: [xsl] user-defined types in something other than Schema?

From: Erik Hennum <erikh501@--------->
To:
Date: 1/4/2005 8:39:00 PM
Hi, Michael:

Thanks for the explanation.  I've a followup
question...

--- Michael Kay <mike@xxxxxxxxxxxx> wrote:

> > 
> > Is it possible to declare user-defined types for 
> > XSLT 2.0 with something other than XML Schema?
> > 
> > As I read http://www.w3.org/TR/xslt20/ , the
> > xsl:import-schema statement supports only XML
> Schema. 
> 
> XML Schema defines an abstract model of types, as
> well as a concrete syntax.
> XSLT is dependent on the abstract model, but not on
> the concrete syntax. The
> specification of xsl:import-schema is essentially
> that you supply a
> namespace and a location hint and the system returns
> a set of type
> definitions in that namespace. Implementations are
> allowed to innovate in
> how that works in detail.

Is it fair to say that, in XSLT 2.0, type declaration
extensions are likely to have the same status that
extension functions had in XSLT 1.0?  In particular,
a separate implementation for each XSLT vendor?

Would it be reasonable for XSLT 2.0 to specify an XSLT
function API for type management (including type
declaration)?  If the XSLT vendor has to implement
types anyway, would a standard interface increase 
the implementation effort substantially?

In particular, if you're interested only in matching
based on type and not in validating, would you 
require only the subset of the abstract model that 
names each type, identifies its base type, and 
provides type annotation for elements?


Cheers,


Erik Hennum
erikh501 AT yahoo DOT com



		
__________________________________ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent