Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xsl] XPath 2 sequence item type determination

From: Justin Johansson <mail@------------------->
To:
Date: 9/2/2008 5:01:00 PM
Thanks again David.
I will think that out and hopefully will not find any hole in that argument.
Sounds goods so far ...

At 05:54 PM 2/09/2008 +0100, you wrote:
>
>
>> Though, say, if one wants to stick to standards and not proprietary
>> extensions, then surely the suggestion of using a series of "if instance
>> of" is problematic in that it is relying on the external string
>> representation of the type (via xsd schema) to guess the type of the
>> (internal) XDM item?
>
>No. Why do you say that? The item may never have been near an xsd
>schema.
>
>If you have a sequence
>
>(1,'1',true(),'true')
>
>then a nested test with instance of will show those types as xs:integer,
>xs:string, xs:boolean and xs:string respectively.
>
>this does not depend on any internals of the XSL processor the result is
>determined by the xpath spec. (I am assuming here that xs: is bound to
>the xsd schema namespace)
>
>
>David


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