This library module provides data conversion functions for processing calendar dates, temporal values, currency values, units of measurement, location names and postal addresses.
The logic contained in this module is not specific to any particular XQuery implementation.
address-from-domain
($domain as xs:string) as xs:string*
Uses a whois service to discover information about a given domain name, returning a sequence of strings for the addresses associated to the name. |
address-from-geocode
($lat as xs:double, $lon as xs:double) as xs:string*
Geospatial coordinates to placename converter, acting as a wrapper over the Yahoo! reverse geocoder service. |
address-from-phone
($phone-number as xs:string) as xs:string*
Uses a White-pages Web service to discover information about a given phone number, returning a string for the address associated to the phone number. |
address-from-user
($name as xs:string) as xs:string*
Uses a White-pages Web service to discover information about a given name, returning a sequence of strings for the addresses associated to the name. |
currency-convert
($v as xs:double, $m1 as xs:string, $m2 as xs:string, $date as xs:string) as xs:double
Currency conversion function, acting as a wrapper over the WebService from the European Central Bank. |
geocode-from-address
($q as xs:string*) as xs:double*
Placename to geospatial coordinates converter, acting as a wrapper over the Yahoo! geocoder service. |
name-from-domain
($domain as xs:string) as xs:string*
Uses a whois service to discover information about a given domain name, returning a sequence of strings for the person or organization names associated to the name. |
phone-from-address
($address as xs:string) as xs:string*
Uses a White-pages Web service to discover information about a given address, returning a sequence of strings for the phone number associated to the address. |
phone-from-domain
($domain as xs:string) as xs:string*
Uses a whois service to discover information about a given domain name, returning a sequence of strings for the phone numbers associated to the name. |
phone-from-user
($name as xs:string) as xs:string*
Uses a White-pages Web service to discover information about a given name, returning a sequence of strings for the phone numbers associated to the name. |
unit-convert
($v as xs:double, $t as xs:string, $m1 as xs:string, $m2 as xs:string) as xs:double
Conversion function for units of measurement, acting as a wrapper over the CuppaIT WebService. |
user-from-address
($address as xs:string) as xs:string*
Uses a White-pages Web service to discover information about a given address, returning a sequence of strings for the names associated to the address. |
user-from-phone
($phone-number as xs:string) as xs:string*
Uses a White-pages Web service to discover information about a given phone number, returning a sequence of strings for the name associated to the phone number. |
declare function conversion:address-from-domain($domain as xs:string) as xs:string*
Uses a whois service to discover information about a given domain name, returning a sequence of strings for the addresses associated to the name.
Attention : This function is still not implemented.
declare %an:nondeterministic function conversion:address-from-geocode($lat as xs:double, $lon as xs:double) as xs:string*
Geospatial coordinates to placename converter, acting as a wrapper over the Yahoo! reverse geocoder service.
declare %an:nondeterministic function conversion:address-from-phone($phone-number as xs:string) as xs:string*
Uses a White-pages Web service to discover information about a given phone number, returning a string for the address associated to the phone number.
declare %an:nondeterministic function conversion:address-from-user($name as xs:string) as xs:string*
Uses a White-pages Web service to discover information about a given name, returning a sequence of strings for the addresses associated to the name.
declare %an:nondeterministic function conversion:currency-convert($v as xs:double, $m1 as xs:string, $m2 as xs:string, $date as xs:string) as xs:double
Currency conversion function, acting as a wrapper over the WebService from the European Central Bank.
WebService documentation at http://www.ecb.int/stats/exchange/eurofxref/html/index.en.html
declare %an:nondeterministic function conversion:geocode-from-address($q as xs:string*) as xs:double*
Placename to geospatial coordinates converter, acting as a wrapper over the Yahoo! geocoder service.
declare function conversion:name-from-domain($domain as xs:string) as xs:string*
Uses a whois service to discover information about a given domain name, returning a sequence of strings for the person or organization names associated to the name.
Attention : This function is still not implemented.
declare %an:nondeterministic function conversion:phone-from-address($address as xs:string) as xs:string*
Uses a White-pages Web service to discover information about a given address, returning a sequence of strings for the phone number associated to the address.
declare function conversion:phone-from-domain($domain as xs:string) as xs:string*
Uses a whois service to discover information about a given domain name, returning a sequence of strings for the phone numbers associated to the name.
Attention : This function is still not implemented.
declare %an:nondeterministic function conversion:phone-from-user($name as xs:string) as xs:string*
Uses a White-pages Web service to discover information about a given name, returning a sequence of strings for the phone numbers associated to the name.
declare %an:nondeterministic function conversion:unit-convert($v as xs:double, $t as xs:string, $m1 as xs:string, $m2 as xs:string) as xs:double
Conversion function for units of measurement, acting as a wrapper over the CuppaIT WebService.
declare %an:nondeterministic function conversion:user-from-address($address as xs:string) as xs:string*
Uses a White-pages Web service to discover information about a given address, returning a sequence of strings for the names associated to the address.
declare %an:nondeterministic function conversion:user-from-phone($phone-number as xs:string) as xs:string*
Uses a White-pages Web service to discover information about a given phone number, returning a sequence of strings for the name associated to the phone number.
$conversion:key as item()*
The key to be used when accessing the White Pages Web service