[Home] [By Thread] [By Date] [Recent Entries]

  • From: David Carlisle <davidc@n...>
  • To: costello@m...
  • Date: Fri, 28 Sep 2007 14:21:43 +0100


> Am I doing something wrong?

yes, using the function xs:integer to try to get the integer 32 from a
character with unicode value 32. The function you are looking for is
available in xpath but not called xs:integer it is called
string-to-codepoints which returns (in general) a sequence of integers,
but if as here your string has length 1, you'll get a single integer (32).


David

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member