XSLTForms/XForms 2.0/XPath 2.0 函式
外觀
< XSLTForms | XForms 2.0
XSLTForms 支援的 XPath 2.0 和 3.0 函式(按字母順序排列)
[可能需要在此處新增關於 XPath 2.0 專案型別宣告的一些描述,以解釋簽名 ...]
- distinct-values($heap as xs:anyAtomicType*)
- ends-with($haystack as xs:string, $needle as xs:string)
- format-number($value as numeric?, $picture as xs:string)
- lower-case(nodeset?)
- replace($input as xs:string, $pattern as xs:string, $replacement as xs:string)
- string-join($bricks as xs:string*, $glue as xs:string)
- tokenize($input as xs:string, $pattern as xs:string)
- upper-case(nodeset?)
還有數學函式 abs、acos、asin、atan、atan2、cos、exp、log、power、random、sin、sqrt 和 tan。[將提供簽名。]
注意:此列表截至 r638 版本完整。
在 r638 中尚未實現許多 XPath 2.0 函式。
注意:此列表不包括在 XForms 1.1 中已定義的函式。
XSLTForms(截至 r638 版本)已實現了這些函式
- serialize()
這些函式顯然尚未在 XSLTForms 中實現(截至 r638 版本)(按字母順序排列):attribute()、bind()、case()、element()、eval()、eval-in-context()、location-param()、location-uri()、parse()、readonly()、relevant()、required()、seconds-from-dateTime()、seconds-from-epoch()、seconds-to-dateTime()、uri-authority()、uri-fragment()、uri-host()、uri-param-names()、uri-param-values()、uri-path()、uri-port()、uri-query()、uri-scheme()、uri-scheme-specific-part()、uri-user-info()。