Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 731 Bytes

xpath-functions.md

File metadata and controls

29 lines (17 loc) · 731 Bytes

XPath function extension

The namespace name of the XPath extension functions is http://www.tei-c.org/ns/xptr. In this documentation, we are using the prefix xptr bound to this namespace: xmlns:xptr="http://www.tei-c.org/ns/xptr".

TEI XPointers are just pointing to something. But one can evaluate them in several manners. Even the type of the pointers differ from pointer type to pointer type. The functions' names reflect this.

Querying the pointer type

TODO

Type dependent functions

xptr:get-sequence(uri as xs:string, pointer as xs:string) as node()*

TODO

Converting to other referencing mechanisms

TODO

Helper functions

xptr:forrest(nodes as node()*) as node()*