[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XPath 2 sequence item type determination

Subject: Re: XPath 2 sequence item type determination
From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx>
Date: Tue, 2 Sep 2008 10:00:51 -0700
Re:  XPath 2 sequence item type determination
You are decribing the f:type() function of FXSL.


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

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.