|
RE: data() function working correctly?: msg#00131text.xml.saxon.help
> In my example I call a > function, ex:Test, > which returns a text() node. The first time that I call the > function it > returns a text node that contains the integer 5. It is my > understanding > that by invoking the data() function on that text node it > should return the > atomic (integer) value 5. No. The typed value of an element or an attribute may be an integer, but the typed value of a text node is always xdt:untypedAtomic. http://www.w3.org/TR/xpath-datamodel/#acc-summ-typed-value Michael Kay http://www.saxonica.com/ ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Template recursion, StackOverflowError, saxon:while a nd variable assignability: 00131, Dimitre Novatchev |
|---|---|
| Next by Date: | Re: Template recursion, StackOverflowError, saxon:while a nd variable assignability: 00131, Dimitre Novatchev |
| Previous by Thread: | data() function working correctly?i: 00131, Roger L. Costello |
| Next by Thread: | RE: Template recursion, StackOverflowError, saxon:while a nd variable assignability: 00131, Michael Kay |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |