XML technologies / XSLT / XSLT and XPath functions

(Excerpt from “XSLT 2.0 & XPath 2.0” by Frank Bongers, chapter 5, translated from German)

A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z

   

Category: Functions for sequences

Name

Origin

Usage

fn:data()

XPath 2.0

converting the input sequence into atomic values

fn:deep-equal()

XPath 2.0

determining the equality of two sequences

fn:distinct-values()

XPath 2.0

removing identical values from a sequence

fn:empty()

XPath 2.0

returns true for an empty sequence

fn:exactly-one()

XPath 2.0

returns the input sequence of exactly one item, otherwise an error occurs 

fn:exists()

XPath 2.0

returns true for a non-empty sequence

fn:index-of()

XPath 2.0

returns the index(es) of the item(s) with the comparative value passed on

fn:insert-before()

XPath 2.0

inserts item(s) into the sequence to the position passed on

fn:one-or-more()

XPath 2.0

returns the input sequence of one or more items, otherwise an error occurs

fn:remove()

XPath 2.0

removes the item from the sequence at the indicated position

fn:subsequence()

XPath 2.0

generates a subsequence by means of index numbers passed on

fn:unordered()

XPath 2.0

allows any output order of a sequence

fn:zero-or-one()

XPath 2.0

returns the input sequence of zero or one item, otherwise an error occurs

   

 

 

 

back to top