Monday 7 May 2012

XSLT 2.0 and XPath 2.0 Functions


The list on this page indicates which functions are implemented in this Saxon release, and any restrictions in the current implementation.
It includes both the core functions defined in XPath 2.0, and the additional functions defined in the XSLT 2.0 specification.

Functions:-

fn:abs  
fn:adjust-date-to-timezone  
fn:adjust-date-to-timezone  
fn:adjust-dateTime-to-timezone  
fn:adjust-dateTime-to-timezone  
fn:adjust-time-to-timezone 
fn:adjust-time-to-timezone  
fn:avg  
fn:base-uri  
fn:base-uri  
fn:boolean  
fn:ceiling  
fn:codepoints-to-string  
fn:collection  
fn:compare  
fn:compare  
fn:concat 
fn:contains  
fn:contains  
fn:context-item  
fn:count  
xslt:current  
fn:current-date  
fn:current-dateTime  
xslt:current-group  
xslt:current-grouping-key  
fn:current-time 
fn:data  
fn:deep-equal  
fn:deep-equal  
fn:default-collation  
fn:distinct-nodes  
fn:distinct-values  
fn:distinct-values  
fn:doc  
xslt:document  
xslt:document 
fn:document-uri  
xslt:element-available  
fn:empty  
fn:ends-with  
fn:ends-with  
fn:error  
fn:error  
fn:escape-uri  
fn:exactly-one  
fn:exists  
fn:expanded-QName 
fn:false  
fn:floor  
xslt:format-date  
xslt:format-date  
xslt:format-dateTime  
xslt:format-dateTime  
xslt:format-number  
xslt:format-number  
xslt:format-time  
xslt:format-time  
xslt:function-available  
xslt:generate-id  
xslt:generate-id  
fn:get-day-from-date  
fn:get-day-from-dateTime  
fn:get-days-from-dayTimeDuration  
fn:get-hours-from-dateTime  
fn:get-hours-from-dayTimeDuration  
fn:get-hours-from-time  
fn:get-in-scope-prefixes  
fn:get-local-name-from-QName  
fn:get-minutes-from-dateTime  
fn:get-minutes-from-dayTimeDuration  
fn:get-minutes-from-time  
fn:get-month-from-date  
fn:get-month-from-dateTime  
fn:get-months-from-yearMonthDuration  
fn:get-namespace-from-QName  
fn:get-namespace-uri-for-prefix  
fn:get-seconds-from-dateTime  
fn:get-seconds-from-dayTimeDuration 
fn:get-seconds-from-time  
fn:get-timezone-from-date  
fn:get-timezone-from-dateTime  
fn:get-timezone-from-time  
fn:get-year-from-date  
fn:get-year-from-dateTime  
fn:get-years-from-yearMonthDuration  
fn:id  
fn:idref  
fn:implicit-timezone  
fn:index-of  
fn:index-of  
fn:input  
fn:insert-before  
fn:item-at  
xslt:key  
fn:lang 
fn:last  
fn:local-name  
fn:local-name  
fn:lower-case  
fn:matches  
fn:matches  
fn:max  
fn:max  
fn:min  
fn:min  
fn:name  
fn:name  
fn:namespace-uri  
fn:namespace-uri 
fn:node-kind  
fn:node-name  
fn:normalize-space  
fn:normalize-space  
fn:normalize-unicode  
fn:normalize-unicode  
fn:not  
fn:number  
fn:number  
fn:one-or-more 
fn:position  
xslt:regex-group  
fn:remove  
fn:replace  
fn:replace  
fn:resolve-QName  
fn:resolve-uri  
fn:resolve-uri  
fn:sum  
fn:root  
fn:root  
fn:round  
fn:round-half-to-even  
fn:round-half-to-even  
fn:sequence-node-identical  
fn:starts-with  
fn:starts-with  
fn:string  
fn:string  
fn:string-join  
fn:string-length  
fn:string-length  
fn:string-pad 
fn:string-to-codepoints  
fn:subsequence  
fn:subsequence  
fn:substring  
fn:substring  
fn:substring-after  
fn:substring-after  
fn:substring-before  
fn:substring-before 
fn:subtract-dateTimes-yielding-dayTimeDuration  
fn:subtract-dateTimes-yielding-yearMonthDuration  
fn:sum  
xslt:system-property  
fn:tokenize  
fn:tokenize 
fn:trace  
fn:translate  
fn:true  
xslt:unparsed-entity-uri  
xslt:unparsed-entity-public-id  
xslt:unparsed-text  
xslt:unparsed-text  
fn:unordered  
fn:upper-case  
fn:zero-or-one 


For definition and syntax click on:- http://saxon.sourceforge.net/saxon7.8/functions.html

No comments: