Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xsl] XPath 2 sequence item type determination

From: "Dimitre Novatchev" <dnovatchev@--------->
To:
Date: 9/2/2008 5:02:00 PM
You are decribing the f:type() function of FXSL.

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

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



On Tue, Sep 2, 2008 at 9:09 AM, Justin Johansson <procode@xxxxxxxxxxx> wrote:
> Can someone please say how to determine the item type of any item in an
> XPath 2 sequence, whether it be atomic or nodal, and especially in the case
> of atomic items if it is boolean, number or string.
>
> Taken as text (ie. characters) xsd can say if the text looks like boolean,
> number or string, but is this the same as the actual item type in the XDM
> (i.e. the internal vs external representation of a value).
>
> It seems difficult to determine if an (XPath) item which outputs as the
> sequence of characters "true" was actually an XDM boolean or string item.
>
> Thanks for the lists help.
>
> JJohansson


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