xsl-list
[Top] [All Lists]

Re: [xsl] getting type information in xslt 2.0

2006-10-23 09:08:06

What problem makes you believe introspecting type annotations is the solution?


When producing a partial application (function) FXSL needs to discover
the actual types of the arguments used so far in order to be able to
re-construct the arguments with exactly those types later, when all
arguments for the original function have been collected.

For primitive (atomic, built-in) xml schema types this is done here:

   
http://fxsl.cvs.sourceforge.net/fxsl/fxsl-xslt2/f/func-type.xsl?revision=1.6&view=markup


Florent Georges has worked on a way to copy the type information of
complex (user-defined) types -- but in this case it is just a copy
operation, not really getting access to the type information itself:


    http://fgeorges.blogspot.com/2006/08/type-preserving-copy-in-xslt-20.html

Unfortunately, we have not been able to extend any of these two
solutions to solve the problem addressed by the other solution.

--
Cheers,
Dimitre Novatchev
---------------------------------------
Truly great madness cannot be achieved without significant intelligence.
---------------------------------------
To invent, you need a good imagination and a pile of junk
-------------------------------------
You've achieved success in your field when you don't know whether what
you're doing is work or play

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--