Functions: - Functions that are already implemented in XPath 1.0 and that should only need minor changes xf:floor xf:ceiling xf:round xf:concat xf:starts-with xf:substring xf:string-length xf:substring-before xf:substring-after xf:normalize-space xf:translate xf:true xf:false xf:not xf:name xf:local-name xf:number xf:id xf:position xf:last xf:string - Functions needing support for XMLSchema datatypes (that is, a new set of DataItem classes) xf:decimal xf:integer xf:long xf:int xf:short xf:byte xf:float xf:double xf:string xf:normalizedString xf:token xf:language xf:Name xf:NMTOKEN xf:NCName xf:ID xf:IDREF xf:ENTITY xf:duration xf:dateTime xf:date xf:time xf:gYearMonth xf:gYear xf:gMonthDay xf:gMonth xf:gDay xf:yearMonthDuration xf:yearMonthDuration-from-months xf:dayTimeDuration xf:dayTimeDuration-from-seconds xf:get-years-from-yearMonthDuration xf:get-months-from-yearMonthDuration xf:get-days-from-dayTimeDuration xf:get-hours-from-dayTimeDuration xf:get-minutes-from-dayTimeDuration xf:get-seconds-from-dayTimeDuration xf:get-year-from-dateTime xf:get-year-from-date xf:get-month-from-dateTime xf:get-month-from-date xf:get-day-from-dateTime xf:get-day-from-date xf:get-hours-from-dateTime xf:get-hours-from-time xf:get-minutes-from-dateTime xf:get-minutes-from-time xf:get-seconds-from-dateTime xf:get-seconds-from-time xf:get-timezone-from-dateTime xf:get-timezone-from-date xf:get-timezone-from-time xf:add-days xf:get-yearMonthDuration xf:get-dayTimeDuration xf:QName-from-uri xf:QName-from-string xf:QName xf:get-local-name xf:get-namespace-uri xf:namespace-uri xf:anyURI xf:NOTATION - Functions requiring the new 'sequence' datatype xf:boolean xf:index-of xf:empty xf:exists xf:distinct-nodes xf:distinct-values xf:insert xf:remove xf:subsequence xf:sequence-deep-equal xf:sequence-node-equal xf:count xf:avg xf:max xf:min xf:sum - Brand new functions: xf:compare done xf:ends-with xf:contains xf:normalize-unicode xf:upper-case xf:lower-case xf:string-pad xf:match xf:replace xf:boolean-from-string xf:deep-equal xf:copy xf:shallow xf:if-absent xf:if-empty xf:idref xf:filter xf:node-kind xf:node-name xf:data xf:base-uri xf:unique-ID xf:root xf:lang - Functions working on the new context xf:document done xf:collection xf:input done xf:context-item xf:context-document xf:current-dateTime Operators: - Operators that are already implemented in XPath 1.0 and that should only need minor changes op:numeric-add done op:numeric-subtract done op:numeric-multiply done op:numeric-divide done op:numeric-mod done op:numeric-unary-plus op:numeric-unary-minus done op:numeric-equal done op:numeric-less-than op:numeric-greater-than op:boolean-equal op:node-equal op:node-before op:node-after op:context-document - Operators needing support for XMLSchema datatypes (that is, a new set of DataItem classes) op:boolean-less-than op:boolean-greater-than op:duration-equal op:yearMonthDuration-equal op:yearMonthDuration-less-than op:yearMonthDuration-greater-than op:dayTimeDuration-equal op:dayTimeDuration-less-than op:dayTimeDuration-greater-than op:datetime-equal op:datetime-less-than op:datetime-greater-than op:add-yearMonthDurations op:subtract-yearMonthDurations op:multiply-yearMonthDuration op:divide-yearMonthDuration op:add-dayTimeDurations op:subtract-dayTimeDurations op:multiply-dayTimeDuration op:divide-dayTimeDuration op:add-yearMonthDuration-to-dateTime op:add-dayTimeDuration-to-dateTime op:subtract-yearMonthDuration-from-dateTime op:subtract-dayTimeDuration-from-dateTime op:add-yearMonthDuration-to-date op:add-dayTimeDuration-to-date op:subtract-yearMonthDuration-from-date op:subtract-dayTimeDuration-from-date op:add-dayTimeDuration-to-time op:subtract-dayTimeDuration-from-time op:QName-equal op:anyURI-equal op:hex-binary-equal op:base64-binary-equal op:NOTATION-equal - Operators requiring the new 'sequence' datatype op:to done op:concatenate op:item-at op:union op:intersect op:except - New operators op:node-precedes op:node-follows